#include #include #include #include using namespace std; typedef long long int lont; int main() { lont A , B; cin >> A >> B; cout << B - A << endl; }