#include <iostream>
using namespace std;

int main()
{
  double A, B;
  cin >> A >> B;
  cout << (1 - B / A) * 100.0 << endl;
  return 0;
}
#include <bits/stdc++.h>
using namespace std;

#define LONG long int
#define ULONG unsigned long int
#define rep(r) for(int i = 0; i < r; ++i)
#define Yes "Yes"
#define No "No"
#define YES "YES"
#define NO "NO"

int main(){
    double a,b;
    cin >> a >> b;
    cout << fixed << setprecision(16) << 100 - 100 * b / a << endl;
}
