eolymp
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