output_description: Print the answers in B+W lines. In the i-th line, print the probability that
  the color of the i-th piece to be eaten is black, modulo 10^{9}+7.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      B W
attempt: # a,b,c = [int(i) for i in input().split()]
  
  import sys
  
  input = sys.stdin.readline
  
  SIZE = 200002
  MOD = 10**9 + 7
  bai = 500000000 + 4
  
  inv = [0] * (SIZE + 1)  # inv[j] = j^{-1} mod MOD
  fac = [0] * (SIZE + 1)  # fac[j] = j! mod MOD
  finv = [0] * (SIZE + 1)  # finv[j] = (j!)^{-1} mod MOD
  inv[1] = 1
  fac[0] = fac[1] = 1
  finv[0] = finv[1] = 1
  for i in range(2, SIZE + 1):
      inv[i] = MOD - (MOD // i) * inv[MOD % i] % MOD
      fac[i] = fac[i - 1] * i % MOD
      finv[i] = finv[i - 1] * inv[i] % MOD
  
  
  def choose(n, r):  # nCk mod MOD の計算
      if 0 <= r <= n:
          return (fac[n] * finv[r] % MOD) * finv[n - r] % MOD
      else:
          return 0
  
  
  b, w = [int(i) for i in input().split()]
  
  c = min(b, w)
  for i in [0] * c:
      print(bai)
  
  ans = bai
  p = pow(bai, c + 1, MOD)
  for i in range(c, b + w):
      #    print(p,i-1,i-w,b-1)
      ans += p * (choose(i - 1, i - w) - choose(i - 1, b - 1))
      p = p * bai
      p %= MOD
      ans = ans % MOD
      print(ans)
  
problem_description: Statement
  
  Today, Snuke will eat B pieces of black chocolate and W pieces of white
  chocolate for an afternoon snack.
  
  He will repeat the following procedure until there is no piece left:
  
    * Choose black or white with equal probability, and eat a piece of that color if it exists.
  
  For each integer i from 1 to B+W (inclusive), find the probability that the
  color of the i-th piece to be eaten is black. It can be shown that these
  probabilities are rational, and we ask you to print them modulo 10^9 + 7, as
  described in Notes.
samples: [{"input": "2 1", "output": "500000004\n    750000006\n    750000006\n    \n\n  * There are three possible orders in which Snuke eats the pieces:\n    * white, black, black\n    * black, white, black\n    * black, black, white\n  * with probabilities \\frac{1}{2}, \\frac{1}{4}, \\frac{1}{4}, respectively. Thus, the probabilities of eating a black piece first, second and third are \\frac{1}{2},\\frac{3}{4} and \\frac{3}{4}, respectively.\n\n* * *"}, {"input": "3 2", "output": "500000004\n    500000004\n    625000005\n    187500002\n    187500002\n    \n\n  * They are \\frac{1}{2},\\frac{1}{2},\\frac{5}{8},\\frac{11}{16} and \\frac{11}{16}, respectively.\n\n* * *"}, {"input": "6 9", "output": "500000004\n    500000004\n    500000004\n    500000004\n    500000004\n    500000004\n    929687507\n    218750002\n    224609377\n    303710940\n    633300786\n    694091802\n    172485353\n    411682132\n    411682132"}]