Number of negatives#8911

Number of negatives

1 second
64 megabytes
Very easy

The input for the program is a sequence of integers that concludes with the number . Your task is to determine how many of these integers are negative.

Input

A sequence of integers, with each integer on a separate line.

Output

A single integer representing the count of negative numbers in the sequence.

Examples

Example 1

Loading
Loading