#K56892. Reverse Words in a Sentence
Reverse Words in a Sentence
Reverse Words in a Sentence
Your task is to process a sentence by reversing each word individually while keeping the words in their original order. For example, converting 'hello world' into 'olleh dlrow'. This problem involves simple string manipulation and will test your ability to efficiently process input and output data.
inputFormat
The input consists of a single line containing the sentence. The sentence may contain multiple words separated by a single space. Input is provided via standard input (stdin).
outputFormat
Output the transformed sentence where each word has been reversed, but the overall word order remains unchanged. Output should be written to standard output (stdout).## sample
apple
elppa