codeforces 500