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

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