Snuke has two types of chocolates for his afternoon snack: black and white. He has B pieces of black chocolate and W pieces of white chocolate. He will randomly select one piece of chocolate to eat until none are left.
Your task is to calculate the probability that the color of the i-th piece to be eaten is black for each integer i from 1 to B + W (inclusive). The probabilities should be printed modulo (10^9 + 7).
Input Format
The first line contains two integers B and W (1 ≤ B, W ≤ 100,000), representing the number of black and white chocolates, respectively.
Output Format
Print B + W lines, where the i-th line contains the probability that the i-th piece to be eaten is black, printed as an irreducible fraction modulo (10^9 + 7).
Examples
Input
text
3 2
Output
text
3
2
3
2
3
Explanation:
For the first piece, since there are 3 black chocolates and 2 white chocolates, the probability of it being black is 3/(3+2) = 3/5.
For the second piece, assuming the first was black, there are 2 blacks and 2 whites left, giving a probability of 2/4 = 1/2 (or 2 after modulo reduction).
This continues for all pieces.
Notes
The probabilities must be calculated and printed in reduced form, where the denominator is 1 after reduction, as specified.
Solution Placement
The solution to this problem should be placed in the /app/ directory.
Important: place your implementation at /app/solution.py so the verifier can run it.