You are required to rotate a word a certain amount. For example, to rotate the word "Computer" by 1 results in "rCompute". Rotating it two more times gives you "terCompu".
The first line contains the word (which will not have more than 15 letters). The second line contains an integer n, which will be less than the length of the word. You must rotate the word n times.
The output will be the rotated word.
Input
Computer 3
Output
terCompu
Input
Program 1
Output
mProgra