Prateek's submission of Sequence | CodeChef