n = float(input()) print(1/n)