#K69767. Reverse Words
Reverse Words
Reverse Words
In this problem, you are given a string consisting of words separated by single spaces. Your task is to reverse each individual word without changing the order of the words in the string.
For example, if the input string is ( hello world ), the output should be ( olleh dlrow ).
inputFormat
The input consists of a single line containing a string ( s ) of words separated by single spaces. The string may be empty.
outputFormat
Output the string after reversing each word. The order of the words should remain unchanged.## sample
hello
olleh