#A. 二级202103-1与指定数字相同的数的个数

    Type: Default 1000ms 256MiB

二级202103-1与指定数字相同的数的个数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

描述

(考级二级202103-1)输出一个整数序列中与指定数字相同的数的个数。

输入

输入包含三行:

第一行为N,表示整数序列的长度(N <= 100); 第二行为N个整数,整数之间以一个空格分开; 第三行包含一个整数,为指定的整数m。

输出

输出为N个数中与m相同的数的个数。

样例输入

3
2 3 2
2

样例输出

2

二级第4轮

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2023-7-29 8:00
End at
2023-8-19 4:00
Duration
500 hour(s)
Host
Partic.
7