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