N=map(int, raw_input().split()) x, y, z = N r=float(y-z)/(x-y) d=float(x*z-y*y)/(x-y) print int(r*z+d)