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