#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> N >> S; int n=S.size(); REP(i,n-2){ if(S[i]=='4' && S[i+1]=='0' && S[i+2]=='4'){ cout << "Found" << endl; return 0; } } cout << "NotFound" << endl; return 0; }