Zhang Yide's submission of Ways to Work | CodeChef