1282: 【11】找列表中相同元素的数量▃count

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:47 Solved:33

Description

找列表中相同元素的数量

Input

第一行为n,表示整数序列的长度(n <= 100)

第二行为n个整数,用空格间隔、

第三行输入整数m。

Output

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

Sample Input Copy

3
2 3 2
2

Sample Output Copy

2