#P303. 【例51.3】 平移数据
【例51.3】 平移数据
Description
Move the first element of array to the end of the array, and shift all other elements one position forward.
Input Format
The first line contains the number of elements in array ;
The second line contains positive integers less than .
Output Format
The array elements after shifting, with each number separated by a space.
Sample
10
1 2 3 4 5 6 7 8 9 102 3 4 5 6 7 8 9 10 1