The potato problem | CodeChef