A,B,C=map(int,input().split()) X=2*(A*B+B*C+C*A) Y=A*B*C if X>Y: print(2) else: print(3)