#include <stdio.h>
int main()
{
long long a,b,ans;
scanf("%lld %lld",&a
,&b
); ans = ((a+b)*(b-a+1))/2;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewogICAgbG9uZyBsb25nIGEsYixhbnM7CiAgICBzY2FuZigiJWxsZCAlbGxkIiwmYSwmYik7CiAgICBhbnMgPSAoKGErYikqKGItYSsxKSkvMjsKICAgIHByaW50ZigiJWxsZCIsYW5zKTsKfQ==