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