- C20250037's blog
A1102
- 2022-10-31 11:42:25 @
#include<iostream>
using namespace std;
int main(){
int n,k,sum;
int a[110];
cin>>n;
for(int i=1;i<=n;i++)
cin>>a[i];
cin>>k;
for(int i=1;i<=n;i++){
if(a[i]==k)
sum++;
}
cout<<sum;
return 0;
}