#include using namespace std; #define int long long signed main(){ int a,b,c; cin>>a>>b>>c; int x = (a*b+a*c+b*c)*2; int y = a*b*c; cout<<(x <= y ? 3 : 2)<