Write a program that reads words, and prints them in reverse order,
reversing also the order of the characters of each word.
Input
Input consists of a natural number
,
followed by
words.
Output
Print the words in reverse order, one per line, and with the
characters inside each word reversed.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.