#include <iostream>
using namespace std;
int main () {
int A, B;
cin >> A >> B;
cout << B - A;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4gKCkgewogICBpbnQgQSwgQjsKICAgY2luID4+IEEgPj4gQjsKICAgY291dCA8PCBCIC0gQTsKICAgcmV0dXJuIDA7Cn0=