Codeforces Alpha Round #20 Problem AB