Kevin Sun's submission of Replace for X | CodeChef