#K10886. Reverse Characters in Words
Reverse Characters in Words
Reverse Characters in Words
Given a string S consisting of words separated by spaces, your task is to reverse the order of characters in each word while keeping the order of the words intact. For example, if the input is 'Hello World', the output should be 'olleH dlroW'.
In mathematical terms, if a word is represented as \( w = c_1c_2\ldots c_n \), then its reversed version is \( w' = c_n c_{n-1}\ldots c_1 \). Apply this transformation for each word in the string.
The input is provided via standard input (stdin), and the output should be printed on standard output (stdout).
inputFormat
The input consists of a single line containing the string S which consists of one or more words separated by spaces.
outputFormat
Output a single line containing the transformed string where each individual word's characters are reversed.
## samplePython
nohtyP