Problem D
E-Clips
Ivan has heard everyone talking about “E-clips”, which he assumes means words or phrases containing the letter E. He wants to jump on the bandwagon, but needs your help to identify the right words to clip.
Input
The input consists of a single line containing between $1$ and $100$ words, separated by a single space. Each word consists of between $1$ and $20$ lowercase letters.
Output
Output the list of only those words from the input which contain the letter ‘e’, separated by a single space, in the same order as in the input.
If none of the input words contain the letter ‘e’, print oh noes.
Sample Input 1 | Sample Output 1 |
---|---|
hello world |
hello |
Sample Input 2 | Sample Output 2 |
---|---|
four score and seven years ago |
score seven years |
Sample Input 3 | Sample Output 3 |
---|---|
e i e i o |
e e |
Sample Input 4 | Sample Output 4 |
---|---|
if youth throughout all history had had a champion |
oh noes |