#include <stdio.h>
#include <limits.h>
#include <iostream>
using namespace std;

int main(){
    long long a,b,c;
    cin >> a >> b>>c;
    long long sum =0;
    a= a%998244353;
    b = b%998244353;
    c = c%998244353;
    long long mod = 998244353;
//    for(int i = 1 ; i <= a ; i++){
//        for(int j = 1 ; j <= b; j++){
//            for(int k =1; k <= c;k++){
//                sum+=(i*j*k)%998244353;
//            }
//        }
//    }
    a = ((a*(a+1))/2)%998244353;
    b = ((b*(b+1)/2))%998244353;
    c = (((c*(c+1)/2))%998244353);
    sum = (a*b)%mod;
    sum = (sum*c)%mod;
    cout << sum;
    return 0;
}

//a 
#include<iostream>
#include<algorithm>
#include<vector>
#include<string>
#include<utility>
#include<map>
#include<set>
#include <sstream>
#include<queue>
#include<stack>
#include<functional>
#include<math.h>
#include <iomanip>
#include <regex>
#include <initializer_list>
#include <numeric>
using namespace std;
    
int main(void){
    int A,B,C;
    cin >> A >> B >> C;
    int maxi ,mid,mini;
    maxi = max(A,max(B,C));
    mini = min(A,min(B,C));
    mid = (A+B+C) -maxi - mini;
    if((maxi - mid) == (mid - mini)){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
}
