codeforces round244 div2
AtCoder arc022