Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Observe that shifting a letter x times has the same effect of shifting the letter x + 26 times.
You need to check whether k is large enough to cover all shifts with the same remainder after modulo 26.