Add code for Codeforces Round 249 Div2