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