Write a program that reads a number and a sequence of or more words, and prints the first words reversed.
Input begins with a natural number , followed by, at least, words.
Print the first words of the original sequence, in reverse order, and one per line.
For the sake of practice, use recursion (not arrays).
Input
3 jordi mireia arnau
Output
arnau mireia jordi
Input
7 dolphins octopuses squid sharks whales piranhas killerwhales fish
Output
killerwhales piranhas whales sharks squid octopuses dolphins