Codeforces Round #241 Problem ABCE