A, C = map(int, input().split()) print(C-A)