#include using namespace std; int n; string s; int main(){ cin >> n >> s; int c = 0; for (int i = 1; i <= 4; i++){ string t("yuki", i); string u("aaaa", i); for (int j = 0; j + i <= n; j++){ if (s.substr(j, j + i) > t){ c++; s.replace(j, i, u); } } } cout << c << endl; }