Codeforces Beta Round #30 Problem ABCD