A sorted array of integers is given. Find the elements that are unique in terms of absolute value.
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.
Print the number of elements that are unique in terms of their absolute value.
Example 1
Example 2
Example 3