first = input() first_s = first.split(" ") itid = int(first_s[0]) niid = int(first_s[1]) print(int(itid-niid))