A, B = map(int, input().split(' ')) def solve(A, B): return A--B print(solve(A, B))