Codeforces Beta Round #27 Problem BC
Codeforces Beta Round #28 Problem ABD