PROGRAMMING:Array loop shift right (enhanced version)
There are n (> 0) integers in an array a, and each integer is cycled to the right m (≥ 0) positions, that is, the data in a is generated by ($$a)_ 0 $$ $$a_{ 1}$$ … $$a_{ N-1} $$) to ($$a)_{ n-m}$$ … $$a_{ n-1}$$ $$a_{ 0}$$ $$a_{ 1}$$ … $$a_{ N-m-1} $$(the last m number circulates to the front m position).
###Input format:
There are two lines of input< br/>
The first line gives N and m, which respectively represent the number of data and the number that needs to be shifted to the right. Where n is not more than 1000000 and M is a non negative integer of int type< br/>
The second line gives n integers separated by spaces.
###Output format:
The output has only one line, which is the result of moving m numbers to the right. The numbers are separated by a space, but there is no extra space at the end of the line.
###Input example:
```in
6 2
1 2 3 4 5 6
```
###Output example:
```out
5 6 1 2 3 4
```
answer:If there is no answer, please comment
###Input format:
There are two lines of input< br/>
The first line gives N and m, which respectively represent the number of data and the number that needs to be shifted to the right. Where n is not more than 1000000 and M is a non negative integer of int type< br/>
The second line gives n integers separated by spaces.
###Output format:
The output has only one line, which is the result of moving m numbers to the right. The numbers are separated by a space, but there is no extra space at the end of the line.
###Input example:
```in
6 2
1 2 3 4 5 6
```
###Output example:
```out
5 6 1 2 3 4
```
answer:If there is no answer, please comment