#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  long long int d = max(a, max(b, c));
  long long int arr[d + 1][d + 1], brr[d];
  long long int i, j;
  for (i = 0; i <= d; ++i) {
    for (j = 0; j <= d; ++j) {
      arr[i][j] = 0;
    }
  }
  for (i = 1; i <= d; i++) arr[i][0] = 1;
  for (i = 1; i <= d; i++) arr[i][1] = i;
  for (j = 1; j <= d; j++) {
    for (i = 2; i <= j; i++)
      arr[j][i] = (arr[j - 1][i] + arr[j - 1][i - 1]) % 998244353;
  }
  brr[0] = 1;
  for (i = 1; i <= d; i++) {
    brr[i] = (i * brr[i - 1]) % 998244353;
  }
  long long int a1 = 0, a2 = 0, a3 = 0;
  for (i = 0; i <= min(a, b); i++) {
    a1 += (((arr[a][i] * arr[b][i]) % 998244353) * brr[i]) % 998244353;
    a1 = a1 % 998244353;
  }
  for (i = 0; i <= min(c, b); i++) {
    a2 += (((arr[c][i] * arr[b][i]) % 998244353) * brr[i]) % 998244353;
    a2 = a2 % 998244353;
  }
  for (i = 0; i <= min(a, c); i++) {
    a3 += (((arr[a][i] * arr[c][i]) % 998244353) * brr[i]) % 998244353;
    a3 = a3 % 998244353;
  }
  long long int ans = (a1 * ((a2 * a3) % 998244353)) % 998244353;
  cout << ans;
}
