n=int(input()) s=input() print("Not"*("404" in s)+"Found")