Sourav Mallick's submission of Hard Sequence | CodeChef