蔡子逸's submission of Gears | CodeChef