#30923: python 串列解


weber0130 (weber0130)


a,b = map(int,input().split()) 
c = []; c.append(a); c.append(b); c = sorted(c) #將a,b排大小
d = [ x for x in range(c[0],c[1]+1)  if x % 2 == 0]  #串列推導式
print(sum(d)) #利用sum()算出加總值