import random N=int(input()) K=int(input()) ANS=0 tests=10**6 for i in range(tests): A=0 B=0 for j in range(N): if jB: ANS+=1 print(ANS/tests)