#include<cstdio>
#include<malloc.h>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<cstdlib>
#include<iostream>
#include<vector>
#include<queue>
#include<set>
#include<stack>
#include<cassert>
using namespace std;
typedef long long ll;
const int MAXN = 200005;
const int INF = 0x7fffffff;
inline int read()//
{
    int x = 0, f = 1; char ch = getchar();
    while (!isdigit(ch)) { if (ch == '-') f = -1; ch = getchar(); }
    while (isdigit(ch)) { x = (x << 1) + (x << 3) + (ch ^ 48); ch = getchar(); }
    return x * f;
}

int main() {
    //freopen("input.txt", "r", stdin);
    //freopen("output.txt", "w", stdout);
    double a, b;
    cin >> a >> b;
    printf("%.8lf", 100-(b / a)*100);
    return 0;
}
#include<bits/stdc++.h>
using namespace std;
const int maxn=1e4+10;
const int mod=998244353;
#define ll long long
#define ull unsigned long long
#define pi pair<int,int>
#define fi first
#define sc second
#define pb push_back




int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    double a,b;
    cin>>a>>b;
    double ans=(a-b)*100.0/a;
    cout<<fixed<<setprecision(6)<<ans<<'\n';




}
