Codeforces Round #1018(Div.1+2)