#include #include #include #include #include using namespace std; int main(){ int n,m; cin>>n>>m; vector t(m); vector p(m); int tm=0; int pm=0; string ans="Yes"; for (int i=0;i>t[i]>>p[i]; for (int i=0;i=abs(pm-p[i])){ tm=t[i]; pm=p[i]; } else{ ans="No"; break; } } cout<