Problem - 673C - Codeforces