var
a,b : real;
begin
readln(a,b);
if a >= b then
a := a * 2;
b := b * 2;
end
else
a := abs(a);
b:= abs(b);
end;
writeln(a:5:2,b:5:2);
end.
var
a,b : real;
begin
readln(a,b);
if a >= b then
begin
a := a * 2;
b := b * 2;
end
else
begin
a := abs(a);
b:= abs(b);
end;
writeln(a:5:2,b:5:2);
end.