#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
using ll = long long;
int main()
{
  int a,b;
  cin >> a >> b;
  int ans = 2*a+100 - b;
  if(ans < 0) ans = 0;
  cout << ans << endl;
}
#include <iostream>

using namespace std;

int main(){
    int m, h;

    cin >> m >> h;

    if (h%m == 0){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
    return 0;
}