#Z15316. 单词翻转
单词翻转
Description
Enter a sentence (one line), reverse each word in the sentence, and then output it.
Input Format
There is only one line, a string with no more than 500 characters. Words are separated by spaces.
Output Format
The string with each word reversed, maintaining the same spacing as the original text.
hello world
olleh dlrow