ABDC's submission of Analyse the Pattern | CodeChef