很难不忍住一句话@烤点老白薯

print(" ".join(reversed(input().split()[:-1])))