#include using namespace std; int N; int A[2<<17]; main() { cin>>N; for(int i=1;i<=N;i++) { cin>>A[i]; if(A[i]>i) { cout<<"No"<