Shift the elements to the right#922

Shift the elements to the right

1 second
128 megabytes
Very easy

An array of integers is given. Cyclically shift the elements of the array one position to the right.

Input

The first line contains the number of elements in the array (n \le 100). The second line contains integers, each of which does not exceed in absolute value.

Output

Output numbers in a single line — the new values of the array after the shift.

Examples

Example 1

Loading
Loading