n = list(map(int,input().split())) ans = 0 for i in range(n[0]+1): ans = ans + i * n[1] * (1/((n[0]+1)*n[1])) print(ans)