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