5707 - 统计正负数个数

输入10个整数,每个整数范围在-1000到1000之间,判断里面正负数的数量

Input

10个整数,每个整数中间1个空格

Output

一共二行,第一行1个整数,表示正数的数量,第二行1个整数,表示负数的数量

Examples

Input

1 1 1 1 1 2 2 2 2 -4

Output

9
-1
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题