​If the area of a square poster is 625 square inches. Josh needs to it to fit into a frame that has dimensions of 12 inches. How many inches does he need to cut off each dimension?