#include using namespace std; int main(){ int a, b, c; cin >> a >> c; if(a == c){ b = 0; } else b = c - a; cout << b << endl; return 0; }