#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define MOD 1000000007

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

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

int main()
{
  double A, B;
  cin >> A >> B;
  
  double ans = B / A;
  ans = 1.0 - ans;
  ans *= 100.0;
  cout << fixed << setprecision(20) << ans << endl;
  
  return 0;
}
