Ayushman Mathur's submission of Hard Sequence | CodeChef