#include #define ll long long #define mod 1000000007 using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin>>n; int a[n]; for(int i = 0; i>a[i]; } sort(a, a+n); int ans = INT_MAX; for(int i = 1; i