Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate to will remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate to will remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate to remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate thatto will remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate that will remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate to will remove leading 0s
Pyth, 4 bytes
v.>z
Explanation
v.>zQ
Q : first line of input evaluated
z : second line of input as string
.> : cyclically rotate second line right by number in first line
v : evaluate that will remove leading 0s