#include using namespace std; int main(void){ long long s, k; cin >> s >> k; if( s <= k) cout << s << endl; else cout << s - k << endl; return 0; }