n,k=map(int,input().split()) exp=0 for i in range(0,n+1): exp+=i/n print(exp)