A number consists of two digits whose sum is 10.If 18 is subtracted from the number,its digits are reversed.Find the number.