#include<bits/stdc++.h>
#define ll long long 
#define mp make_pair 
#define f(i,n) for(int i=0;i<n;i++) 
#define F first 
#define S second 
#define pb push_back 

using namespace std;

void test(){
	ll n,m,t;
	cin>>n>>m>>t;
	ll cap = n;
	bool flag = true;
	ll prev = 0;
	f(i,m){
		ll a,b;
		cin>>a>>b;
		n = n - (a-prev);
		if(n<=0)flag = false;
		n = min(cap,n + (b-a));
		prev = b;
	}
	n = n - (t-prev);
	if(n<=0)flag = false;
	if(flag)cout<<"Yes\n";
	else cout<<"No\n";
	
}

int main(){
	std::ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int tests=1;
	// cin>>tests;
	while(tests--){
		test();
	}
}
