#include<iostream> using namespace std; int main(){ int a,b,i,sum=0; cin>>a>>b; if(a>b) swap(a,b); for(i=a+1;i<b;i++) { if(abs(i)%2==1) sum+=i;} cout<<sum; return 0; }