x=int(input()) print(1/x)