#include <bits/stdc++.h>
using namespace std;
int main(){
  long long t, N;
  cin>>t>>N;
  long long ans;
  long long nonexistcount=0;
  long long i=1;
  while(nonexistcount!=N){
    if(i*(double)t/100>=nonexistcount+1){
      ans = i+nonexistcount;
      nonexistcount++;
      if(nonexistcount==1&&N!=1){
        i = i+(100/t)*(N-1);
        nonexistcount=N-1;
      }
      else{
        i = i+100/t;
      }
    }
    else{
      i++;
    }
  }
  cout<<ans<<endl;
}
#include<bits/stdc++.h>
using namespace std;
#define _ 0
const int maxn=1e5+5;
const int inf=0x3f3f3f3f;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    //freopen(".in","r",stdin);
    //freopen(".out","w",stdout);
    long long t,n;
    cin>>t>>n;
    cout<<(n*100+t-1)/t+n-1<<endl;
	return ~~(0^_^0);
}
