N = int(input())
S = input()

if "404" in S:
    print("Found")
else:
    print("NotFound")