Clare has some yellow square tiles and 62 green square tiles (which are all the same size). She makes a rectangle with yellow tiles on the inside and green tiles completely around the perimeter.
What is the largest possible number of yellow tiles in the pattern?
This problem is adapted from the World Mathematics Championships