Codeforces Round #210 Problem ABC