Shivam tanay's submission of STRANGE SEQUENCE | CodeChef