Rohit's submission of Hard Sequence | CodeChef