d = float(input("Enter depth: ")) c = 10 * d + 20 f = 1.8 * c + 32 print(f"The temperature inside the earth at a depth of {d} units is {c} C / {f} F")