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