#include #include using namespace std; using namespace atcoder; typedef long long ll; #define rep(i, n) for (int i = 0; i < n; i++) #define chmin(x, y) x = min(x, y) #define chmax(x, y) x = max(x, y) int main(){ ll a, b , c ; cin >> a >> b >> c ; ll x = ( a * b + b * c + c * a ) * 2 ; ll y = a * b * c ; if( x > y ) cout << 2 << endl ; else cout << 3 << endl ; }