In a school 500 children are there. Principal is distributing uniform to them but for taking uniform they have to stand in such a way that the number of rows is equal to number of columns. How many children would be left out?