e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Permutation of the words

Permutation of the words

Changethe linenameandsurname of the person.

Input

The inputfilecontains oneline,whichrecordedthe nameandthe name of theperson(sharedby exactly onespace).

Output

The outputfileoutput thesame information,but thefirstnamethenlast name,alsoseparated byexactlyonespace.

Time limit 0.1 seconds
Memory limit 64 MiB
Input example #1
Pupkin Vasily
Output example #1
Vasily Pupkin