#include "bits/stdc++.h" using namespace std; int main(){ int n; scanf("%d", &n); int nums[100005]; for(int i=0; i