#include #include using namespace std; int main(int argc, const char* argv[]) { string S; cin >> S; cout << count(S.begin(), S.end(), 'n') << endl; return 0; }