#include using namespace std; using ll=long long; int main(){ ll a,b,c; cin>>a>>b>>c; ll s=2*(a*b+b*c+c*a); ll v=a*b*c; if(s>v){ cout<<2<