a,c = [int(i) for i in input().split()] print(c-a)