Problem2148--多少个5

2148: 多少个5

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

Description

输入4个整数,判断有多个数字5出现。

Input

输入一行,4个整数(数字间用空格隔开,数据在int范围内)

Output

输出一行,即四个数字中5出现的次数,若没有出现数字5,则输出0.

Sample Input Copy

1 4 5 10

Sample Output Copy

1

Source/Category