#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>

using namespace std;

double aa, bb;

int main()
{
	scanf("%lf%lf", &aa, &bb);;
	printf("%.5f", (aa - bb) / aa * 100);;
	return 0;
}

#include <bits/stdc++.h>
using namespace std;
#define IOS              ios_base::sync_with_stdio(false);cin.tie(0), cout.tie(0);
#define print(a)         for(int i=0;i<(a.size());i++){cout<<a[i]<<"\n";}
#define sortt(a)         sort(a.begin(),a.end())
#define rep(i,a,b)       for(int i=a;i<b;i++)
#define int              long long 
#define pb               push_back
#define PQ               priority_queue
#define F                first
#define S                second
#define mod              1000000007
#define endl             "\n"
// const int N=2e6;
// int minn=INT_MAX;
// int maxx=INT_MIN;
// int a[N];
void Usolve()
{
    double a,b; cin>>a>>b;
    double ans=100*(1-b/a);
    cout<<ans<<endl;
}


signed main()
{
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
#endif

    IOS;
    int t=1; 
    // cin>>t;
    while(t--)
    {
        Usolve();
    }
    return 0;
}
