Problem2210--数组移位

2210: 数组移位

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Status] [Submit] [Creator:]

Description

将长度为10的数组a的第一个元素移到数组末尾,其余数据依次向前移动一个位置,输出移位后的数组。

Input

一行,十个整数,均在1000以内。

Output

输出移位后的数组,数据间以空格隔开。

Sample Input Copy

1 2 3 4 5 6 7 8 9 10

Sample Output Copy

2 3 4 5 6 7 8 9 10 1

Source/Category