Problem1639--exam-shift-1

1639: exam-shift-1

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 52  Solved: 10
[Submit] [Status] [Web Board] [Creator:]

Description

Input n and an integer, returns the value of the integer x rotated to the right by n positions.

Input

n and x

Output

x rotated to the right by n positions

Sample Input Copy

13
2

Sample Output Copy

7

Source/Category

136