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