#C12453. Right String Rotation
Right String Rotation
Right String Rotation
Given a string \( s \) and a non-negative integer \( k \), rotate the string to the right by \( k \) positions.
The rotation operation moves the last \( k \) characters of \( s \) to the beginning, preserving their order, followed by the remaining characters. If \( k \) is greater than the length of \( s \), consider \( k \mod |s| \). When \( s \) is empty, output an empty string.
inputFormat
The input consists of two lines. The first line contains the string \( s \), and the second line contains the non-negative integer \( k \).
outputFormat
Output a single line containing the rotated string.
## samplehello
2
lohel