a=""
while 1:
    a=input()
    if a == "EOI":
        break
    a=a.lower()
    if "nemo" in a:
        print("Found")
    else:
        print("Missing")
a=""
while 1:
    a=input()
    if a == "EOI":
        break
    a=a.lower()
    if "nemo" in a:
        print("Found")
    else:
        print("Missing")