#include #include #include #include #include #include #include int main(){ int n; scanf("%d",&n); // int *types = malloc(sizeof(int) * n); int types[n]; for(int types_i = 0; types_i < n; types_i++){ scanf("%d",&types[types_i]); } // your code goes here int birds[5]={0,0,0,0,0}; for(int bird_i=0;bird_i<5;bird_i++){ for(int types_i = 0; types_i < n; types_i++){ if(types[types_i]== bird_i+1) birds[bird_i]++; } } int MaxType=0; for(int i=1;i<5;i++) { if(birds[MaxType]