Type: Default 1000ms 256MiB

或(easy version)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Problem Description

给定整数 nn ,对于 ii 满足1≤i≤n1 \le i \le n,分别输出有多少个非负整数jj满足 i or j=i i\ or\ j = i,j≠ij \ne i

其中oror代表按位或

Input Format

输入一个整数nn

Output Format

输出nn行,每行一个数代表满足要求的个数

Sample

5
1
1
3
1
3

Hint

1≤n≤1061 \le n \le 10^{6}