N=int(input()) S=input() if "404" in S: ans="Found" else: ans="NotFound" print(ans)