long b,c;main(a){scanf("%d%ld%ld",&a,&b,&c);printf("%ld",(c*c+b*b-b*c-a*c)/(b-a));}