HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


REVERSE ORDER OF WORDS

Section problems

• Providers
• A to the power of B
• A Palace with Many Columns
• 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

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Title

Description:

 

Write a program that reverses the words in the sentence.

 

Input:

 

Input contains only line of sentence with uppercase letters.

 

Output:

 

Your output should contain only one sentence which is reverse order of the words of the sentence given from input.

 

Sample input:

 

WHAT IS YOUR NAME

 

Sample output:

 

NAME YOUR IS WHAT

 

 

Для отправки решений необходимо выполнить вход.

www.contester.ru