//Ctrl+Shift+Bでコンパイル
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main(){
    long t,N;
    cin >> t >> N;
    long long ans = 0;

    long num = N/t;
    int num_a = N%t;
    if(num_a == 0){
        ans = num*(100+t) - 1;
    }
    else{
        ans = num*(100+t);
        double num_aa = double(num_a);
        double tt = double(t);
        

        vector<int> a ;
        int prs = 0;
        for(int i = 1; i < 100; i++){
            int buy = i*(100.0+tt)/100.0;
            if(buy == prs+1){
                prs = buy;
            }
            else{
                a.push_back(buy-1);
                prs = buy;
            }
        }

        ans += a.at(num_a-1);

    }

    

    cout << ans << endl;

}
#include<bits/stdc++.h>
#include<algorithm>
#include<math.h>
#include<utility>
using namespace std;
#define pb push_back
#define mp make_pair
#define fs first
#define sec second
#define pq priority_queue
#define lb lower_bound
#define ub upper_bound
#define ll long long int 
#define endl "\n"
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i, n) for(int i=n-1;i>=0;i--)
typedef pair<int, int>  pii;
typedef pair<ll, ll>    pl;
typedef vector<int>     vi;
typedef vector<ll>      vl;
typedef vector<pii>     vpii;
typedef vector<pl>      vpl;
typedef vector<vi>      vvi;
typedef vector<vl>      vvl;
long long int mod=1000000007;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL); 
    #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);
    #endif

    ll t,n;
    cin>>t>>n;
    
    ll r=n*100;
    ll s=r%t;
    if(r%t)
      cout<<r/t+n<<endl;
      else
       cout<<r/t+n-1<<endl;

    return 0;
}

