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