#4837. 求8的个数

求8的个数

Description

输入 1 个整数n,求它有几个数字是8。

Input Format

 第一行1个整数n,范围在[1,100000000]。

Output Format

只一个整数。
308482
2

Source

循环 数位分离