Mirror Each Word
Reverse every word individually, keeping the word order.
Input: one line with words separated by single spaces.
Output: each word reversed, order unchanged.
Constraints:
- 1 to 200 words of lowercase letters
Sample Tests
Input 1
abc def
Output 1
cba fed
Input 2
a bc
Output 2
a cb
Discussion (opens after you solve — no spoilers before)
No comments yet.