Олимпиадный тренинг

Задача 7035. Elements ending in a


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 (numbers are entered from the keyboard).
The third line contains the number a

Imprint
Print a single number - number of array elements ending with the number a.
 
Examples
# Input Output
1 5
1 2 32 14 52
2
3
2 3
-1 0 1
2
0