Problem - 637D - Codeforces