The tens digit of a certain two-digit number is 3 more than the units digit. The sum of the squares of the two digits is 117. Find the number.