CodeChef March Cook Off, Dividing Stamps, AC.