Week 5: December 7 - 13. Integer arrays. Part 2
Shift the elements to the right
The linear array of n integers is given. Shift its elements cyclically one position to the right.
The number of elements n (n ≤ 100) in array is given in the first line. The second line contains n elements of array, each of them does not exceed 100 by absolute value.
Print n numbers in one line - the new array elements.
4 1 2 3 4
4 1 2 3