文件目录

#include <iostream>
using namespace std;
int main()
{
    int n, m;
    int a[1000] = {};
    cin >> n;
    for (int i = 1; i <= n; i++)
        cin >> a[i];
    cin >> m;
    int ans = 0;
    for (int i = 1; i <= n; i++)
        if (a[i] == m)
            ans++;
    cout << ans;
    return 0;
}