Read a word. Print the first 3 characters, then the last 3 characters, then the word reversed — each on its own line.
Example:
Input:
Python
Output:
Pyt hon nohtyP