#include using namespace std; int main() { int n; cin >> n; int a[n]; for (int i=0; i> a[i]; sort (a, a+n); int d = 0; int c = 1; for (int i=0; i