#include<iostream>
#include<cstdio>
using namespace std;
#define int long long
bool vis[101];
int c[101];
signed main()
{
	int t,n;scanf("%lld%lld",&t,&n);
	for(int i=1;i<=100;i++)vis[(t+100)*i/100]=1;
	int cnt=0,r=100+t;
	for(int i=1;i<=100+t;i++)if(!vis[i])c[++cnt]=i;
//	for(int i=1;i<=cnt;i++)printf("%lld ",c[i]);
//	int ans=n/cnt*r+c[n%cnt];
//	printf("%lld",ans);
	int ans=0;
	if(n%cnt==0)ans=(n/cnt-1)*r+c[cnt];
	else ans=n/cnt*r+c[n%cnt];
	printf("%lld",ans);
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
using ll = long long;

int main() {
  double t,N;
  cin >>t>>N;
  // cout << "------------" << endl;
  //double ans = (((100+t)*N+1)/t-1);
  double ans = (N*100/t)*((100+t)/100);
  cout << std::fixed << std::setprecision(0) << ceil(((100+t)*N)/t-1) << endl;
}