#include #include #include #include #include using namespace std; int arr[10]; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n, a, ans; cin >> n; for(int i=0; i> a; arr[a]++; } int maxi=0; for(int i=1; i<=5; i++) { if(arr[i]>maxi) { ans=i; maxi=arr[i]; } } cout << ans << endl; return 0; }