13266: 统计(1)

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

Description

编程实现从键盘任意输入20个整数,统计非负数个数,并计算非负数之和。

Input

首先输入一个整数K ,表示下面有K行。

接下来的K行,每行输入20个整数。

Output

输出和和个数。以空格分隔。

Sample Input Copy

1
28 49 -31 -11 39 -8 33 26 19 36 -14 -39 -31 -43 25 37 25 -43 -36 -2

Sample Output Copy

317 10