K, S = int(input()), 0 for i in range(1, 10 ** 8): S += 1 / (i * (i + K)) print(S)