#include using namespace std; struct I{I(){ios::sync_with_stdio(false);cin.tie(0);}}init; int main(){ int N;cin>>N; vector x(N); for(auto &it:x)cin>>it; sort(x.begin(),x.end()); int top=1,bottom=1e9; for(int i=1;i