#include using namespace std; signed main(){ int n;cin>>n; vector v(n); for(int i=0;i>v[i]; sort(v.begin(),v.end()); int ans=1e9; for(int i=1;i1e8)cout<<-1<