Problem J: 数数游戏

Problem J: 数数游戏

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

从1数到n,一共数了多少个包含数字“3”的个数?

Output


Sample Input Copy

10

Sample Output Copy

1