Sudhanshu Mishra's submission of Hard Sequence | CodeChef