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