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