I wrote a two-digit natural number on a card. The sum of the digits of this number is divisible by three. If I subtract the number 27 from the written number, I get another two-digit natural number, written with the same digits but in reverse order. Which numbers could I have written on the card?

(L. Hozová)