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