codeforces 498