Given a rectangle's width and height, compute the dimensions of the poster after the folded shape is determined geometrically.
Medium4GeometryMathImplementationNo attempts yetTime limit1sMemory limit64 MBIeumjul is the 49th student council leadership team of Korea University. During last autumn's campaign, Ieumjul handed out this poster.

The folded parts of the poster open up. Once every fold is opened, the poster is a single rectangular sheet.


Jino was impressed by the poster and wants to make a similar one. All Jino has is one rectangular sheet that is Hcm wide and Vcm tall. What size of poster comes out when Jino folds that sheet?
The folding goes like this. Label the corners of the sheet A, B, C, D counterclockwise, starting at the bottom left corner. Sides AB and CD are the horizontal sides of length H, and sides BC and DA are the vertical sides of length V.
The first line has the width H and the height V of the sheet, separated by a space. Both values are given with two digits after the decimal point, and 1.00≤V<H≤1000.00.
Print the width and the height of the finished poster in centimeters on one line, separated by a space. Round both values at the third digit after the decimal point and print two digits after the decimal point. Keep a trailing zero instead of dropping it.