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