A certain number of two digits is three times the sum of its digits, and if 45 be added to it, its digits are reversed. Find the number.