a,c = list(map(int, input().split())) print(c - a)