Zhang Yide's submission of The potato problem | CodeChef