#include #include #include using namespace std; int main() { int x = 0; char a; for (int i = 1; i <= 100; i++) { cin >> a; if (a == 'm') x++; } cout << x << endl; return 0; }