#P1516E. Baby Ehab Plays with Permutations

    ID: 5890 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>combinatoricsdpmath*2500

Baby Ehab Plays with Permutations

No submission language available for this problem.

Description

This time around, Baby Ehab will play with permutations. He has nn cubes arranged in a row, with numbers from 11 to nn written on them. He'll make exactly jj operations. In each operation, he'll pick up 22 cubes and switch their positions.

He's wondering: how many different sequences of cubes can I have at the end? Since Baby Ehab is a turbulent person, he doesn't know how many operations he'll make, so he wants the answer for every possible jj between 11 and kk.

The only line contains 22 integers nn and kk (2n1092 \le n \le 10^9, 1k2001 \le k \le 200) — the number of cubes Baby Ehab has, and the parameter kk from the statement.

Print kk space-separated integers. The ii-th of them is the number of possible sequences you can end up with if you do exactly ii operations. Since this number can be very large, print the remainder when it's divided by 109+710^9+7.

Input

The only line contains 22 integers nn and kk (2n1092 \le n \le 10^9, 1k2001 \le k \le 200) — the number of cubes Baby Ehab has, and the parameter kk from the statement.

Output

Print kk space-separated integers. The ii-th of them is the number of possible sequences you can end up with if you do exactly ii operations. Since this number can be very large, print the remainder when it's divided by 109+710^9+7.

Samples

Sample Input 1

2 3

Sample Output 1

1 1 1

Sample Input 2

3 2

Sample Output 2

3 3

Sample Input 3

4 2

Sample Output 3

6 12

Note

In the second example, there are 33 sequences he can get after 11 swap, because there are 33 pairs of cubes he can swap. Also, there are 33 sequences he can get after 22 swaps:

  • [1,2,3][1,2,3],
  • [3,1,2][3,1,2],
  • [2,3,1][2,3,1].