eolymp
bolt
Try our new interface for solving problems
Problems

Value of expression 1

Value of expression 1

Time limit 1 second
Memory limit 128 MiB

Compute the value of the expression for the given real numbers x and y.

2x^2 - 4xy + 3y^2 + {x + y \over 7}

Input data

Two real numbers x and y.

Output data

Print the value of the given expression with precision to the thousandths.

Examples

Input example #1
1.000 -2.000
Output example #1
21.857
Author Matviychuk Sergiy
Source "ABC programming"