#CCBCHMOT0000024. Đếm số âm cho đến EOF (Count Negative Integers Until EOF)

Đếm số âm cho đến EOF (Count Negative Integers Until EOF)

Count Negative Integers Until EOF

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Read integers until EOF. Count the strictly negative values. Zero is neither negative nor a terminator.

Input

A possibly empty whitespace-separated stream of integers.

Output

Print the count of negative integers.

Subtasks

  • Subtask 1 (20%): At most 5 values, abs(ai)<=10.
  • Subtask 2 (30%): At most 200 values, abs(ai)<=1000.
  • Subtask 3 (50%): At most 100000 values, abs(ai)<=1000000.

Examples

Example 1

Input

-2 0 -7 5

Output

2

Explanation

Only -2 and -7 are negative.

Example 2

Input


Output

0

Explanation

Empty input yields zero.