Problem - 354C - Codeforces