Zhang Yide's submission of How many sequences | CodeChef