from sys import stdin def main(): N, M = map(int, input().split()) print(N - M) input = lambda: stdin.readline() main()