#include using namespace std; int main() { long a, c; cin >> a >> c; cout << c - a << endl; }