This page is still under construction.

Parts of this page are still being built. What you see may change.

Finding Nemo

Time limit1sMemory limit256 MB

Summary
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.

Examples2

  1. Example 1

    Input
    Marlin names this last egg Nemo, a name that Coral liked.
    While attempting to save nemo, Marlin meets Dory,
    a good-hearted and optimistic regal blue tang with short-term memory loss. 
    Upon leaving the East Australian Current,(888*%$^&%0928375)Marlin and Dory
    NEMO leaves for school and Marlin watches NeMo swim away.
    EOI
    
    Expected output
    Found
    Found
    Missing
    Missing
    Found
    
  2. Example 2

    Input
    nemo
    NEMO
    NeMo
    EOI
    
    Expected output
    Found
    Found
    Found