#include <bits/stdc++.h>
#define int long long
#define iostream() ios::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL);
using namespace std;
const int maxn = 1e6+7;
const int MAXN = maxn / 2;
signed main()
{
iostream();
int a,b; //,cnt = 0;
cin >> a >> b;
/*while (a > b)
{
a += 100;
cnt++;
}*/
for (int i = 0;; i++)
{
if (b + 100 * i >= a)
{
cout << i;
return 0;
}
}
//cout << cnt;
return 0;
}