#include<bits/stdc++.h> using namespace std; int main(){ int n,m,s=0; cin>>m>>n; for(int i=m;i<=n;i+=2){ s+=i; } cout<<s; return 0; }