Dhruv Gupta's submission of Sed Sequences | CodeChef