#include <bits/stdc++.h>
using namespace std;

int main() {

    int A, B;
    cin >> A >> B;

    cout << 100*(1.0-(double)B/A) << endl;
    return 0;
}
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;

int main()
{
     ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t;
    cin>>t;
    ll sum=0;
    while (t--)
    {
        ll a, b;
        cin>>a>>b; 
        ll s1=0, s2=0;
        if(a!=1)
        s1=(a*(a-1))/2;
        s2=(b*(b+1))/2;
        sum+=(s2-s1);
    }
    cout<<sum;
    return 0;
}