Codeforces Beta Round #32 Problem ABCD
fix