def main(): n = int(input()) s = input().strip() for i in range(n - 2): if s[i] == "4" and s[i + 1] == "0" and s[i + 2] == "4": print("Found") exit(0) print("NotFound") main()