# display reversed integer

a = input("Enter the number: ")
b = list(a)
b.reverse()

print(''.join(b))


# display reversed integer

a = input("Enter the number: ")
b = list(a)
b.reverse()

print(''.join(b))


# display reversed integer