a, b = map(int, input().split()) if ab: s=b-a else: s=0 print(s)