Problem - 631C - Codeforces