#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 max=0; int count=0,pcount; int i,j; for(i=1;i<=5;i++) { for(j=0;jpcount) { max=i; pcount=count; } count=0; } cout<