Problem - 1332C - Codeforces