a,b,c=map(int,input().split()) print("32"[a+b>a*b/2-a*b/c])