Shift the elements to the right#125

Shift the elements to the right

1 second
128 megabytes
Very easy (≈850)

The linear array of integers is given. Shift its elements cyclically one position to the right.

Input

The number of elements n\;(n \le 100) in array is given in the first line. The second line contains elements of array, each of them does not exceed by absolute value.

Output

Print numbers in one line — the new array elements.

Examples

Example 1

Loading
Loading