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