import sys input=lambda: sys.stdin.readline().rstrip() print(1/int(input()))