l = int(input()) r = int(input()) if (l > r): l, r = r, l s = 0 for i in range (l+1, r): if i % 2: s += i print (s)