#c22202. 子集和I
子集和I
Subset Sum I
Problem Description
You are given an integer . Define , and for all , $f_i = \sum_{j \& i = j, j < i} f_j \times i \mod 1000000007$. Output in order.
Input Format
One line containing an integer .
Output Format
Output one line containing integers: the answer.
Sample Input
2
Sample Output
1 1 2 12
Constraints
For all data, .