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