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

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