n == input()
if n.isnumeric():
	a=n[::-1]
	print(a)
else:
	print("Invalid")

5011a87d8b94bbf1278bb5642890a280c5e83339
<mask token>

n == input()
if n.isnumeric():
    a = n[::-1]
    print(a)
else:
    print('Invalid')

n == input()
if n.isnumeric():
	a=n[::-1]
	print(a)
else:
	print("Invalid")
