#CCBCHBAHAI0000144. Khoa học máy tính lạnh (Cold-puter Science)

Khoa học máy tính lạnh (Cold-puter Science)

Cold-puter Science

Source: Kattis

Version: Phuoc Hung OJ Extended

Problem Statement

You are given nn temperatures in degrees Celsius, t0,t1,…,tn−1t_0,t_1,\ldots,t_{n-1}. A temperature is below freezing exactly when it is less than 00.

Count how many temperatures are negative.

Input

  • The first line contains an integer nn.
  • The second line contains nn integers t0,t1,…,tn−1t_0,t_1,\ldots,t_{n-1}.

Output

Print one integer: the number of indices ii such that ti<0t_i<0.

Subtasks

Subtask 1 (100 points): 1≤n≤1001\le n\le100 and −106≤ti≤106-10^6\le t_i\le10^6.

Examples

Input

3
5 -10 15

Output

1

Explanation

Among 5,−10,155,-10,15, only −10-10 is strictly below 00. Therefore the answer is 1.