N = int(input()) S = str(input()) if "404" in S: print("Found") else: print("NotFound")