from sys import stdin

n = int(stdin.readline().rstrip())

k = int(n/2)
k = n-k
ans = k/n
print(ans) from sys import stdin n = int(stdin.readline().rstrip()) n int(stdin.readline().rstrip()) int stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip k = int(n/2) k int(n/2) int n/2 n 2 k = n-k k n-k n k ans = k/n ans k/n k n print(ans) print ans n = int(stdin.readline().rstrip()) int(stdin.readline().rstrip()) n ans = k/n k/n ans k = int(n/2) int(n/2) k k = n-k n-k k
from sys import stdin

n = int(stdin.readline().rstrip())

k = int(n/2)
k = n-k
ans = k/n
print(ans)