a, b = int(input()), int(input())
print(a - b)