Finding Nemo
Time limit1sMemory limit256 MB
Print Found for each input line before EOI when the letters n, e, m, o appear in order ignoring case, else Missing.
- Level
Easy2 of 10
- Topics
- String
- Solved
- No attempts yet
Problem
Find the name Nemo hidden in English sentences. Capitalization does not matter. The four letters n, e, m, o in that order count as a match even when they sit inside a longer word.
Input
Each line holds one sentence. The last line of the input is EOI, and that line is not judged. A line holds at most 80 characters.
Output
For each sentence print one line: Found if the name is hidden in it, Missing if it is not.