OpenText Interview Question

Print a string after making n right rotations.