1818: 【CSP数组】COUNT▅

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

Description

一本书的页数为 lns="http://www.w3.org/1998/Math/MathML">N ,页码从 lns="http://www.w3.org/1998/Math/MathML">1 开始编起,请你求出全部页码中,用了多少个 lns="http://www.w3.org/1998/Math/MathML">0129 

Input

一个正整数 lns="http://www.w3.org/1998/Math/MathML">N  lns="http://www.w3.org/1998/Math/MathML">N10000 ),表示总的页码。

Output

共十行:第 lns="http://www.w3.org/1998/Math/MathML">k 行为数字 lns="http://www.w3.org/1998/Math/MathML">k1 的个数。

Sample Input Copy

11

Sample Output Copy

1
4
1
1
1
1
1
1
1
1