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