N = int(input()) S = input() ans = "NotFound" for i in range(N-2): if S[i:i+3] == "404": ans = "Found" print(ans)