Codeforces R246d2 C-Prime Swaps