a = input()
sum1 = 0
while a != 0:
    c = a % 10
    sum1 = sum1 * 10 + c
    a = a // 10
print(sum1)

234f3e7f6095330001e2e10d2bae1d00e3adb36b
<mask token>

<mask token>
while a != 0:
    c = a % 10
    sum1 = sum1 * 10 + c
    a = a // 10
print(sum1)

a = input()
sum1 = 0
while a != 0:
    c = a % 10
    sum1 = sum1 * 10 + c
    a = a // 10
print(sum1)
