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