input_list = list(map(int,input().split()))
output_list = input_list[::-1][1:]
print(" ".join(map(str,output_list)))