k = int(input()) x = 0 if k == 0: print(3.14159265358979 * 3.14159265358979 /6) exit() for i in range(1,k+1): x += 1 /(i*(i+k)) print(x)