#include using namespace std; #include #include #include template inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } const int INF=1001001001; const int mod = 1000000007; int main() { int64_t N,K; cin>>N>>K; vectorA(K); for(int i=0;i>A[i]; } vectort(7,false); for(int i=K;i>=1;i--){ if(A[i]==A[i-1]+1&&A[i]>=10){cout<<"No"<=10){cout<<"No"<=10){cout<<"No"<