Codeforces Round #741 (Div. 2) A-E Solutions