Create Codeforces Round #271 (Div. 2)的F题