Input
The first line contains the number
N (1<=N<=20) - the number of elements of a one-dimensional array. The second line contains
N integers (all numbers are not over 100).
Imprint
Print one number - the number of elements other than the last element.
Examples
| # |
Input |
Output |
| 1 |
5
1 5 3 4 5
| 3 |
| 2 |
3
1 1 1
| 0 |