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