시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB20671117102554.638%

문제

The PLU football coach must submit to the NCAA officials the names of all players that will be competing in NCAA Division II championship game. Unfortunately his computer keyboard malfunctioned and interchanged the letters ‘i’ and ‘e’. Your job is to write a program that will read all the names and print the names with the correct spelling.

입력

The file contains a list of names, and each name will be on a separate line.

출력

Print the same list of names with every ‘i’ replaced with an ‘e’, every ‘e’ replaced with an ‘i’, every ‘I’ replaced with an ‘E’, and every ‘E’ replaced with an ‘I’.

예제 입력 1

Alan Pagi
John Hiesman
Justen Forsitt
Phel Semms
Tem Tibow
Marshawn Lynch
Lion Washengton

예제 출력 1

Alan Page
John Heisman
Justin Forsett
Phil Simms
Tim Tebow
Marshawn Lynch
Leon Washington