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