a, b = map(int, input().split()) #輸入absumm = 0for i in range(b-a+1): #讓i從a跑到b,i=a , i=a+1 , i=a+2 ,... , i=b if (a+i) % 2 == 0: #如果a+1為偶數 summ += (a+i) #加總a+1到summprint(summ)