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