1470: 【入门】求因子数量

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

从键盘读入一个整数n(n<=100),请求出1~n的每个数的因子个数(求因子个数时,不含1和自己,比如10只有2个因子),每行一个打印出来。

Input

一个整数n

Output

n行,每行一个整数,代表了每个整数的因子个数

Sample Input Copy

10

Sample Output Copy

0
0
0
1
0
2
0
2
1
2