Distinct - 2#261

Distinct - 2

1 second
128 megabytes
Easy (≈1000)

A sorted array of integers is given. Find the elements that are unique in terms of absolute value.

Input

The first line contains the number of integers n~(n \le 2 \cdot 10^6). The second line contains integers sorted in non-decreasing order. The array may contain duplicate elements.

Output

Print the number of elements that are unique in terms of their absolute value.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading