ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Неотсортированные > задача:


Name-Surname

Задачи раздела

• X to the power of Y
• A+B
• T-shirts
• SAME OR DIFFERENT
• GCF
• REVERSE ORDER OF WORDS
• Factorial
• Maximum
• Name-Surname
• Decimal to binary
• Heap
• Herons
• Leap Year
• Perfect numbers
• Rectangle
• Bfs
• Chess

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 200/400/400/400 мс. Лимит памяти 65000/65000/65000/65000 Кб.

As a rule in Russian language we say Ivanov Petr (surname first then name). While in English it is convenient to say Petr Ivanov. Write a program to change order of given surname and name.

Input
Two words separated with one or several spaces, surname and name

Output
Two words separated with one space, name and surname

Examples

standart inputstandart output
Ivanov Petr Petr Ivanov
Almuhametov Irek Irek Almuhametov
Для отправки решений необходимо выполнить вход.

www.contester.ru