#include using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ int n; cin >> n; vector cnt(6, 0); for(int i=0; i> l; cnt[l-1]++; } int ans=0, m=0; for(int i=0; i<6; i++){ if(m<=cnt[i]){ ans=i+1; m=cnt[i]; } } cout << ans << endl; return 0; }