a,b,c=map(int,input().split()) print(3-(a+b>a*b/2-a*b/c))