n = input()
a = []
for n1 in n.split():
    temp = n1[::-1]
    a.append(temp)
print(*a)

2e3267c8a28a352a5b49e0cf596a24ea9c5ec0dd
<mask token>

<mask token>
for n1 in n.split():
    temp = n1[::-1]
    a.append(temp)
print(*a)

n = input()
a = []
for n1 in n.split():
    temp = n1[::-1]
    a.append(temp)
print(*a)
