#include using namespace std; using ll = long long; using P = pair; using T = tuple; // #include // using namespace atcoder; // using mint = modint1000000007; #define rep(i, n) for(ll i = 0; i < n; i++) int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); ll a,b,c; cin >> a >> b >> c; ll hyo = (a*b + b*c + c*a) * 2; ll v = a*b*c; cout << (hyo > v ? 2 : 3) << endl; return 0; }