Write a program that reads sequences of integer numbers, and prints each one reversing the order of its elements.
Input consists of several sequences. Each sequence consists of a natural number , followed by integer numbers.
Print each sequence in reverse order in a line.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T11:31:35.643Z
© Jutge.org, 2006–2026.
https://jutge.org