#include using namespace std; int main(){ int n; int typea,typeb,typec,typed,typee; typea=0;typeb=0;typec=0;typed=0;typee=0; cin >> n; vector types(n); for(int types_i = 0; types_i < n; types_i++){ cin >> types[types_i]; } for(int types_i = 0; types_i < n; types_i++){ if( types[types_i]==1) typea++; if( types[types_i]==2) typeb++; if( types[types_i]==3) typec++; if( types[types_i]==4) typed++; if( types[types_i]==5) typee++; } int arr[5]={typea,typeb,typec,typed,typee}; int arrone[5]={typea,typeb,typec,typed,typee}; for(int i=1;i<5;i++) {for(int j=0;jarr[j]) { int temp=arr[j]; arr[j]= arr[i]; arr[i]= temp; }} } for(int i=0;i<5;i++) { if(arr[0]==arrone[i]) { cout<