Tony Wang's submission of How many sequences | CodeChef