Pack the balls in a box! | CodeChef