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