#include using namespace std; int main(){ int n,x=1e9,y; cin>>n; vector a(n); for(int i=0;i>a[i]; for(int i=1;i