Codeforces Solutions 936 Div 2