Ankur Kayal's submission of Replace for X | CodeChef