Andrey Kim's submission of Chef and Balls | CodeChef