y=input("Enter a number: ")
try:
    s=float(y)
    inverse=1.0/s
    print(inverse)
except Exception:     
    print("Error")