"use strict";

const main = arg => {
    const N = arg.split("\n")[0].split(" ")[0];
    const t = arg.split("\n")[0].split(" ")[1];
    console.log(N - t > 0 ? N - t : 0);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));