Problem Description

You got n numbers in an array. Print them in reverse order. Simple thing, but do it clean.

Input Format

One line: n then n integers.

Output Format

One line: reversed numbers space separated.

Sample Test Case

Input:
5 10 20 30 40 50
Output:
50 40 30 20 10

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next