#include <iostream>#include <cmath>using namespace std;
int main(){ int x=0,y=0,z=0,s=0; while(cin>>x>>y>>z){ int s; s=(x+y+z)/2; cout << s*(s-x)*(s-y)*(s-z) << endl; }}