LearnPy Hub
← Input problems
Hard

Second Word First

Read a line of words and print it with the first two words swapped. Lines have at least two words.

Input

One line.

Output

One line.

Sample 1

Input
hello world
Output
world hello

Sample 2

Input
a b c d
Output
b a c d
solution.py
Output appears here
Second Word First · Python practice problem · LearnPy Hub