Ivan's submission of Simple Editor | CodeChef