a,b,c = map(int,input().split(' ')) r = (c - b) / (b - a) d = c - r * b print(int(round(r * c + d)))