r=io.read while""do print(("%.2f"):format((r"*n"^2+r()^2)^.5))end