#include <bits/stdc++.h> #include <math.h> //ここから省略 #define yes (cout<<"Yes"<<endl) #define no (cout<<"No"<<endl) using namespace std; //--------------ここから実行------------------ int main() { int a,b,c;cin>>a>>b>>c; int x=a*b+a*c+b*c; x*=2; int y=a*b*c; if(x>y)cout<<2<<endl; else cout<<3<<endl; }