#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  int A, B, C;
  cin >> A >> B >> C;
  int result;
  result = A * B + B * C + C * A + 1 - A - B - C;
  cout << result << endl;
  return 0;
}
