A,B,C=map(int,input().split())

Y=A*B*C
X=A*B+B*C+C*A
X*=2

if X>Y:
    print(2)
else:
    print(3)