#include using namespace std; int main() { int N,L,max=0,ans; cin>>N; int hist[7]; fill(hist,hist+7,0); for(int i=0;i>L; hist[L]++; } for(int i=1;i<7;i++){ if(max<=hist[i]){ ans=i; max=hist[i]; } } cout<