N,K = map(int,input().split()) ans = 0 for i in range(0,N+1): ans += i/(N+1) print(ans)