#define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(v) v.begin(), v.end() typedef long long ll; #include using namespace std; int dp[200200]; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n; string s; cin>>n>>s; dp[0]=1; rep(i,n){ if(dp[i]==0) continue; if(s[i]=='?' || s[i]=='n') dp[i+1]=1; if(i