#include<iostream> using namespace std; int main() { int m,n; cin>>m>>n; m=m/2; n=(n+1)/2; cout<<n*n-m*m; }