#t196. 单词倒排

单词倒排

Reverse Word Order

Problem Description

Write a program that reads a line of English text (consisting only of letters and spaces, with words separated by single spaces), reverses the order of all the words, and outputs the result, still separated by single spaces.

Input Format

The input is a string (length at most 200200, each word at most 3030 characters long).

Output Format

Output the string reordered as required.

Sample Input

I am a student

Sample Output

student a am I