#include <bits/stdc++.h>
using namespace std;
#define int long long
using vec_int = vector<int>;
using P = pair<int,int>;
using T = tuple<int,int,int>;
using ll = long long;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)

int charToInt(char c){
    char zero_num = '0';
    return (int)c - (int)zero_num;
}

signed main(){
    double A; cin>>A;
    double B; cin>>B;
    cout<<fixed<<setprecision(10)<<100.- B/A*100.<<endl;

    return 0;
}
#include <iostream>
using namespace std;
int main(void) {
  int A, B;
  cin >> A >> B;
  cout << (A-B)*100./A << endl;
  return 0;
}
