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