During a mass drill exercise, 6250 students of different schools are arranged in rows such that the number of students in each row is equal to the number of rows. In doing so, the instructor finds out that 9 children are left out. Find the number of children in each row of the square.