Problem 4 (Shifting Letters)