Problem2802--多少位为3

2802: 多少位为3

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 38  Solved: 37
[Status] [Submit] [Creator:]

Description

输入一个整数 a,判断 a 存在多少位上的数字是 3。

Input

一个整数 a(1 ≤ a ≤ 10^9)。  

Output

输出一个整数,表示 a 存在多少位为 3。

Sample Input Copy

233233

Sample Output Copy

4

Source/Category