eolymp
bolt
Try our new interface for solving problems
Problems

Value of expression 2

Value of expression 2

Find the value of expression for the given values of the variables $x$ and $y$. $$ {x^2 - 2xy + 4y^2 \over x + 5} + {3x^2 - y^2 \over y - 7} $$ \InputFile Values of the variables $x$ and $y$. \OutputFile Print the value of expression up to thousandths.
Time limit 1 second
Memory limit 128 MiB
Input example #1
1.000 -2.000
Output example #1
3.611