#include using namespace std; int main(){ int n; cin >> n; vector types(n); int occurnces [5]={0,0,0,0,0}; int max=0,maxindex=0; for(int types_i = 0; types_i < n; types_i++){ int type; cin >> type; types[types_i]=type; occurnces[type-1]++; } for (int i=0; i<5;i++){ if (occurnces[i]>max){ max=occurnces[i]; maxindex=i+1; } } cout<