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