Zhang Yide's submission of Different Trips | CodeChef