Negative elements#109

Negative elements

1 second
128 megabytes
Very easy (≈850)

The sequence of real numbers is given. Find the sum and the number of negative elements in it.

Input

The first line contains the number n~(n \le 100) of sequence elements. In the next line real numbers — the elements of sequence are given. Their values do not exceed by absolute value.

Output

Print in one line the number of negative elements and their sum with two digits after the decimal point.

Examples

Example 1

Loading
Loading