Two numbers are called relatively prime if their greatest common divisor is $1$. Grogg's favorite number is the product of the integers from $1$ to $10$. What is the smallest integer greater than $500$ that is relatively prime to Grogg's favorite number?