#include using namespace std; typedef long long ll; int main() { int n; cin>>n; int a[n]; for(int i=0;i>a[i]; int mn = 1e5; for(int i=1;i