#include #include int q(const int*a,const int*b) { return*b-*a; } int main(void) { int h,n,k[100],i; scanf("%d%d",&h,&n); for(i=0;i