Problem - D1 - Codeforces