A two-digit munber, when multiplied by 3, equals the square of the sum of its digits. If three times the sum of the digits is equal to the number itself, then find the number.