#44310: python


suyueh (suyueh)


a,b=map(int,input().split())
t=0
if a>b:
  a,b=b,a
for i in range(a,b+1):
    if i%2==0:
        t=t+i
print(t)