#include <bits/stdc++.h>
using namespace std;
long long ncr[5001][5001];
void NCR(int n) {
  for (int i = 0; i <= n; i++) ncr[i][0] = 1;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= i; j++) {
      ncr[i][j] = (ncr[i - 1][j] + ncr[i - 1][j - 1]) % 998244353;
      ncr[i][j] %= 998244353;
    }
  }
}
long long fct[5001];
void fact(long long n) {
  fct[0] = 1;
  for (int i = 1; i <= n; i++) {
    fct[i] = (fct[i - 1] * (i % 998244353)) % 998244353;
  }
}
int main() {
  fact(5000);
  NCR(5000);
  long long a, b, c, ans1 = 0, ans2 = 0, ans3 = 0;
  cin >> a >> b >> c;
  for (int i = 0; i <= min(a, b); i++) {
    ans1 += (((ncr[a][i] * ncr[b][i]) % 998244353) * fct[i]) % 998244353;
    ans1 %= 998244353;
  }
  for (int i = 0; i <= min(c, b); i++) {
    ans2 += (((ncr[b][i] * ncr[c][i]) % 998244353) * fct[i]) % 998244353;
    ans2 %= 998244353;
  }
  for (int i = 0; i <= min(c, a); i++) {
    ans3 += (((ncr[c][i] * ncr[a][i]) % 998244353) * fct[i]) % 998244353;
    ans3 %= 998244353;
  }
  cout << (((ans1 * ans2) % 998244353) * ans3) % 998244353 << endl;
}
