http://codeforces.com/contest/334