//
//  1001-a_minus_b.swift
//  Algorithm
//
//  Created by Yujean Cho on 2022/02/14.
//

import Foundation

let line = readLine()!
let lineArr = line.split(separator: " ")
let a = Int(lineArr[0])!
let b = Int(lineArr[1])!
print(a-b)