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