#include using namespace std; int main(){ int n,m;cin>>n>>m; int now=0; long long time=0; for(int i=0;i>t>>p; if(t-time>=abs(p-now)){ time=t; now=p; } else{ cout<<"No"<