1 2 3 4 5 6 7 8 9 10 11
a = int(input()) b = int(input()) e1 = 0 e2 = 0 while a<=b: if a%2==0: e1+=a else: e2+=a a+=1 print(e1-e2)