Game#607

Game

1 second
128 megabytes
Very easy (≈850)

In the free time, Fidan and Fuad play at home. This time they came up with the next game:

Fidan numbers a_1, a_2, ..., a_n are given in the order she said them. At the end, help Fidan find how many numbers are written on the paper.

Input

The first line contains one integer n~(1 \le n \le 10^5). The second line contains integers a_1, a_2, ..., a_n~(1 \le a_i \le 10^9).

Output

Print how many numbers were written on the paper at the end of the game.

Examples

Let's consider the first example. The game goes like this:

  • There is no on the paper, Fuad writes on the paper.

  • is not written on paper, Fuad writes on paper.

  • There is no on the paper, Fuad writes on the paper.

  • is written on the paper, Fuad erases from the paper.

At the end of the game, numbers are left on the paper.

Example 1

Loading
Loading

Example 2

Loading
Loading