The sum of an integer and its square is 72. Find the greatest possible integer.