#include <bits/stdc++.h>

using namespace std;

typedef long long int ll;
typedef unsigned long long int ull;
typedef long double ld;

/* #define MULTI 1 */

void pre()
{
}

void solve()
{
	double a, b; cin >> a >> b;
	cout << (a - b) / a * 100 << endl;
}

int main()
{
	pre();
#ifdef MULTI
	int T;
	cin >> T;
	for (int t = 0; t < T; ++t) {
#endif
		solve();
#ifdef MULTI
	}
#endif
	return 0;
}

#include<bits/stdc++.h>
#include<iostream>
using namespace std;
using LL = long long;
using P = pair<int,int>;
constexpr long long LINF = 1001001001001001001;
#define all(x) (x).begin(), (x).end()
#define rep(i,n) for(int i = 0; i < (n); ++i)
//using Graph = vector<vector<int>>;

int main(){
	double A, B;
	cin >> A >> B;
	cout << (1-B/A)*100 << endl;


}

