#include<bits/stdc++.h>
using namespace std;
int main(){
  long long n;
  long long t;
    cin >> t >> n;
    
    long long ans = (n*100-1)/t + n;
    cout << ans <<endl;
}
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
using ld=long double;
using P=pair<int,int>;
#define rep(i,n) for(int i=0;i<n;i++)

int main(){
  ll t,n;
  cin >> t >> n;
  ll l=0,r=1e15;
  while(l+1<r){
    ll i=(l+r)/2;
    ll k=i*(100+t)/100-i;
    if(n<=k) r=i;
    else l=i;
  }
  cout << l*(100+t)/100+1 << endl;
}