Koichi Namekata's submission of Simple Editor | CodeChef