Find the five digit number in which the first two digits are the square of the third digit and the last two digits are the square of the digit that is one less than the third digit. The sum of all the digits is 22.