#include <iostream>
using namespace std;
int main()
{
int a,b,c,s,p;
while(cin>>a>>b>>c)
s=(a+b+c)/2;
p=s*(s-a)*(s-b)*(s-c);
cout <<p<<endl;
}
return 0;