Zhang Yide's submission of Chef and medium problem | CodeChef