407073: GYM102697 044 Yoda Translator

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

044. Yoda Translatortime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

Yoda tends to confuse people with his irregular syntax. Write a program that takes in a string and switches the first half of the words with the second half.

Input

A line will contain a string.

Output

For the input, your program must print that string with the first and second half of the words switched.

ExampleInput
reverse this sentence you have to
Output
you have to reverse this sentence
Note

Assume the input will always have an even number of words.

加入题单

算法标签: