import sys
input = sys.stdin.readline
N = int(input())
S = input().strip()
if "404" in S:
    print("Found")
else:
    print("NotFound")