#include<bits/stdc++.h>
using namespace std;
typedef long long  ll;
ll t,n;
int main(){
    cin>>t>>n;
    ll ans=(n*100+t-1)/t+n-1;
    cout<<ans;
}
#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
int main(){
    ios::sync_with_stdio(false);
    int n;
    cin >> n;
    int ans = n;
    string s;
    cin >> s;
    list<char> l;
    rep(i,n) {
        l.push_back(s[i]);
    }
    auto l_itr = l.begin();
    while(l_itr != l.end()) {
        auto l_itr2 = l_itr;
        l_itr2++;
        if(l_itr2 == l.end()) break;
        auto l_itr3 = l_itr2;
        l_itr3++;
        if(l_itr3 == l.end()) break;

        if(*l_itr == 'f' && *l_itr2 == 'o' && *l_itr3 == 'x') {
            ans-=3;
            if(l_itr == l.begin()) {
                auto l_itr1 = l_itr;
                l_itr = l_itr3;
                l_itr++;
                l.erase(l_itr1);
                l.erase(l_itr2);
                l.erase(l_itr3);
            } else {
                auto l_itr1 = l_itr;
                l_itr--;
                if(l_itr != l.begin()) {
                    l_itr--;
                }
                l.erase(l_itr1);
                l.erase(l_itr2);
                l.erase(l_itr3);
            }
            continue;
        }
        l_itr++;
    }
    
    cout << ans << endl;
}
