import math k=int(input()) MAX = pow(10,7) ans = 0 for i in range(1,MAX): temp = (1/(i*(i+k))) ans += temp print(ans)