#include <iostream>
using namespace std;

int main () {
   int A, B;
   cin >> A >> B;
   cout << B - A;
   return 0;
}