@@ -0,0 +1,5 @@
+import math
+R = 6350.0
+h = float(input())
+d = math.sqrt((R + h) ** 2 - R ** 2)
+print(d)