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