Negative elements#921

Negative elements

1 second
128 megabytes
Very easy

Given a sequence of real numbers, numbered from to . Determine the number and the sum of negative elements in the sequence.

Input

The first line contains the number of elements (n \le 100). The second line contains real numbers — the elements of the sequence, separated by spaces. Each value does not exceed in absolute value.

Output

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

Examples

Example 1

Loading
Loading