LearnPy Hub
← Arena
EasyRating 900

Reverse the Sentence

Print the words of the sentence in reverse order, separated by single spaces.

Input

One line.

Output

One line.

Sample 1

Input
the sky is blue
Output
blue is sky the

Sample 2

Input
  hello world  
Output
world hello
solution.py
Output appears here
Reverse the Sentence · Python Arena problem · LearnPy Hub