CSES - Tournament Graph Distribution
  • Time limit: 1.00 s
  • Memory limit: 512 MB

A tournament graph is a directed graph where a single directed edge exists between every pair of nodes.

Given nn, your task is to calculate for each k=1nk = 1 \dots n the number of tournament graphs that have nn nodes and kk strongly connected components.

Input

The only line has an integer nn: the number of nodes.

Output

Print nn lines: for each k=1nk=1 \dots n the number of graphs modulo 109+710^9+7.

Constraints

  • 1n5001 \le n \le 500

Example

Input:

3

Output:

2
0
6