n,k = map(int,input().split())
win = 0
for i in range(1,n+1):
    a = 1
    while i*a < k:
        a *= 2
    win += 1/a
print(win/n) n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k win = 0 win 0 for i in range(1,n+1):
    a = 1
    while i*a < k:
        a *= 2
    win += 1/a i range(1,n+1) range 1 n+1 n 1 a = 1 a 1 while i*a < k:
        a *= 2
     i*a < k i*a i a k a *= 2 a 2 win += 1/a win 1/a 1 a print(win/n) print win/n win n a = 1 1 a win = 0 0 win n,k = map(int,input().split()) map(int,input().split()) n k = map(int,input().split()) map(int,input().split()) k a *= 2 2 a win += 1/a 1/a win
n,k = map(int,input().split())
win = 0
for i in range(1,n+1):
    a = 1
    while i*a < k:
        a *= 2
    win += 1/a
print(win/n)
