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