def Main(): print(1/int(input())) Main()