#include #include int main() { double A,B,C; scanf("%lf %lf",&A,&B); C = (pow(A,2) - pow(B,2))/(A-B); printf("%g\n",C); return 0; }