#include <stdio.h>
int main() {
int arr[100];
int n;
scanf("%d", &n);
for(int i=0;i<n;i++){
scanf("%d", &arr[i]);
}
int v, count;
scanf("%d", &v);
for(int i=0;i<n;i++){
if(arr[i] == v){
count++;
}
}
printf("%d", count);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: