#include <iostream>
#include <string>
using namespace std;

int main(){
  string s;
  int i,count =0;

  cin >> s;
  for(i=0;i<12;i++){
      if(s[i] == 'Z'){
          if(s[i+1]=='O'){
              if(s[i+2]=='N'){
                  if(s[i+3]=='e'){
                      count++;
                      i+=3;
                  }
              }
          }
      }
  }
  cout << count << endl;
}
#include<bits/stdc++.h>
using namespace std;



signed main(){
    int n;cin>>n;
    if(n%100!=0){
        cout<<n/100 + 1<<endl;
    }else{
        cout<<n/100<<endl;
    }
}