Problem3092--数字6的个数

3092: 数字6的个数

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

Description

输入一个整数n,计算它有多少个数字6
输入:1266 输出:2
输入:3654 输出:1
输入:6665666 输出:6

Input

输入一个整数n

Output

输出一个整数,表示整数n中含有多少个数字6

Sample Input Copy

1236

Sample Output Copy

1

Source/Category