#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double X,Y,Z,A,G;
  cin >> X >> Y >> Z;
  G=Y/X;
  double i=0;
  while(i/Z<G){
      A=i;
      i++;
    }
  cout << A <<endl;
}
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define BIG 2000005

ll M = 998244353;

int main() {
    ll A, B, C;
    cin >> A >> B >> C;
    ll ans = A * (A+1) / 2 % M;
    ans = (ans * (B * (B+1) / 2 % M)) % M;
    ans = (ans * (C * (C+1) / 2 % M)) % M;
    cout << ans << endl;
    return 0;
}