Shobhit Agarwal's submission of Hard Sequence | CodeChef