- 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 , your task is to calculate for each the number of tournament graphs that have nodes and strongly connected components.
Input
The only line has an integer : the number of nodes.
Output
Print lines: for each the number of graphs modulo .
Constraints
Example
Input:
3
Output:
2 0 6