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