a,b,c=map(int,input().split()) x,y=2*a*b+2*b*c+2*c*a,a*b*c print(2 if x>y else 3)