#Z15101. 与指定数字相同的数的个数
与指定数字相同的数的个数
Description
Output the count of numbers in an integer sequence that are equal to a specified number.
Input Format
The input consists of three lines:
- The first line is an integer N, representing the length of the integer sequence (N ≤ 100);
- The second line contains N integers, separated by spaces;
- The third line contains an integer m, the specified number to compare against.
Output Format
Output the count of numbers in the sequence that are equal to m.
3
2 3 2
2
2