import sequtils, strutils const word = "404" let n = parseInt readLine stdin s = readLine stdin bool = (2 ..< n).allIt(s[it.pred(2) .. it] != word) echo: if bool: "NotFound" else: "Found"