b1,b2,b3=map(int,input().split()) r=(b3-b2)/(b2-b1) d=b2-r*b1 if (b3*r+d)-int(b3*r+d)>=0.5: print(int(b3*r+d)+1) else: print(int(b3*r+d))