Write a program that counts how many times a number M occurs in N numbers.
The first line contains the N number.
The next N lines contain numbers.
The last line contains the M number.
Output only a single non-negative integer number.
Write a program that counts how many times a number M occurs in N numbers.
The first line contains the N number.
The next N lines contain numbers.
The last line contains the M number.
Output only a single non-negative integer number.
Sample Input 1:
6
1
2
3
4
2
1
2Sample Output 1:
2Create a free account to access the full topic