#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int a, b, c;
  cin >> a >> b >> c;
  cout << (c - 1) * (b - 1) + a * (b + c - 1) << endl;
  return 0;
}
