13150: 考试二十三:统计数字并求和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

输入任意位数的整数,统计位数数字小于5的个数及其和,并输出。

Input

任意位数的整数

Output

数字小于5的个数及其和,用空格隔开

Sample Input Copy

123654

Sample Output Copy

4 10