Question 22$A,B,C$ are three consecutive whole numbers with $A\times B\times C=504$. If $A$ is the smallest, find $A$.