print(' '.join(list(reversed(list(input().split())))))