You are given real numbers x, y. Replace the smaller of these two numbers with a half-sum, and the larger with their doubled product.

program n1;
var x, y, s: real;
begin
readln (x, y);
s: = x;
x: = (x + y) / 2;
y: = 2 * s * y;
writeln (x, ”, y);
end.

Example of work:
Input: 2.5 3.5
Conclusion: 3 17.5



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.