On the way to school, Heehyun picked up a treasure map. The map said this.
Let the coordinates of the school's main gate be (0,0).
x0=a and y0=b. (0<b≤a)
xn+1=2xn+yn, yn+1=xn+yn2xnyn
Keep following the trail and the treasure turns up!
The two sequences xn and yn converge to one and the same value. That value is both the x coordinate and the y coordinate of the treasure. Help Heehyun and find where the treasure is.
Input
The first line contains two positive integers a and b, separated by a space. (0<b≤a≤1018)
Output
Print the x coordinate and the y coordinate of the treasure on the first line, separated by a space.
Round both coordinates at the fourth digit after the decimal point and print exactly three digits after the decimal point. Keep trailing zeros. If the answer is the integer 6, write it as 6.000.