n,m = map(int,input().split()) for _ in range(m): a = input() print(n-m)