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