Wentao Wang's submission of Different Trips | CodeChef