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