极速省流:

print(" ".join(reversed(input().split())))