The boys of a school can be arranged in 12 15 and 18 equal rows and also into a solid square. What is the least number of boys that school can have? (Hint find the lcm)

and the answer is 900 but my lcm is 180 and 180 isn't a perfect squred? I know my probpem will be solved!