Codeforces Round #178 Problem E Shaass the Great