Devesh Agarwal's submission of Distribute Apples | CodeChef