Problem Description

One line sentence is provided. Write function rev_words(s) that reverses word order. Output output.

Input Format

One line sentence.

Output Format

One line reversed words.

Sample Test Case

Input:
hi hello bye
Output:
bye hello hi

Constraints

Length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next