N = int(input()) S = input() cnt = S.count("404") if cnt >= 1: print("Found") else: print("NotFound")