11415 - Word Scramble   

Description

Write a program that will reverse the letters in each of a sequence of words while preserving the order of the words themselves.

Input

The input file will consist of several lines of several words. Words are contiguous stretches of printable characters delimited by white space.

Output

The output will consist of the same lines and words as the input file. However, the letters within each word must be reversed.

If the input is "I love     you.", the output should be "I evol     .uoy"

Sample Input  Download

Sample Output  Download

Partial Judge Code

11415.cpp

Partial Judge Header

11415.h

Tags




Discuss