Problem - 1313C1 - Codeforces