b1, b2, b3 = [ int(v) for v in input().split(" ") ] print(int( ( ( ( b3- b2 ) *b3 ) / (b2 - b1) ) + ( b3 - ( ( ( b3- b2 ) * b2 ) / ( b2 - b1 ) ) ) ) )