Codeforces Round #814 (Div. 1) (finished)