#c22202. 子集和I

子集和I

Subset Sum I

Problem Description

You are given an integer nn. Define f0=1f_0 = 1, and for all i∈[1,2n)i \in [1, 2^n), $f_i = \sum_{j \& i = j, j < i} f_j \times i \mod 1000000007$. Output f0,f1,...,f2n−1f_0, f_1, ..., f_{2^n-1} in order.

Input Format

One line containing an integer nn.

Output Format

Output one line containing 2n2^n integers: the answer.

Sample Input

2

Sample Output

1 1 2 12

Constraints

For all data, 1≤n≤161 \le n \le 16.