A man was tiling the ground, he wanted a perfect square. He had 2916 tiles. How many tiles should he put to make equal rows and columns?