#include #include #include int main() { std::string minmin; std::cin >> minmin; std::cout << std::count(begin(minmin), end(minmin), 'n') << std::endl; }