#include <bits/stdc++.h>
using namespace std;
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
#define all(x) (x).begin(),(x).end()
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
typedef long long ll;
typedef pair<int, int> P;
typedef vector<int> vec;
using Graph = vector<vector<int>>;
const long long INF = 1LL<<60;
const long long MOD = 1000000007;
 
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    long double a,b;cin>>a>>b;
    b=a-b;
    long double ans=100*(b/a);
    cout<<fixed<<setprecision(15)<<ans<<endl;
    return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
	double a,b;
	cin>>a>>b;
	cout<<(a-b)/a*100;
 } 