N,K = [int(i) for i in input().split()] print(sum([i/(N+1) for i in range(N+1)]))