#include using namespace std; int main(){ int n,diff=INT_MAX,i; cin>>n; int arr[n]; for(i=0;i>arr[i]; sort(arr,arr+n); for(i=0;i