#include <bits/stdc++.h>
// clang-format off
using namespace std; using ll = int64_t; using ull = uint64_t; using pll = pair<ll,ll>; const ll INF = 4e18;
void print0() {}
template<typename Head,typename... Tail> void print0(Head head,Tail... tail){cout<<fixed<<setprecision(15)<<head;print0(tail...);}
void print() { print0("\n"); }
template<typename Head,typename... Tail>void print(Head head,Tail... tail){print0(head);if(sizeof...(Tail)>0)print0(" ");print(tail...);}
void fail() {print("No"); exit(0);}
// clang-format on

int main() {
    ll n, m, t;
    cin >> n >> m >> t;
    //vector<pll> ab(m);
    ll n0 = n;
    ll curt = 0;
    for (ll i = 0; i < m; i++) {
        ll a, b;
        cin >> a >> b;
        n = n - (a - curt);
        if (n <= 0) fail();
        n = n + (b - a);
        n = min(n0, n);
        curt = b;
    }
    n = n - (t - curt);
    if (n <= 0) fail();

    print("Yes");
}

#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<algorithm>
#include<iomanip>
#include<set>
#include<unordered_set>
#include<map>
typedef long long int ll;
using namespace std;
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define REP(i,n) for (int i=0;i<(n);i++)
#define EREP(i,n) for (int i=1;i<=(n);i++)
#define ALL(a) (a).begin(),(a).end()
//#define EVEL 1

#ifdef EVEL
#define DEB(X) cout << #X << ":" <<X<<" " ;
#define TF(f) f ? cout<<"true  " : cout<<"false ";
#define END cout<<"\n";
#else
#define DEB(X) {}
#define TF(f) {}
#define END {}
#endif
const ll MOD = 1000000007;
const int INF = 2000000000;
    ll N,M,K,T;
    ll A[100010],B,C,X;
    bool F=true;
    ll ans=0;
    string S;

int main(){
    ios_base::sync_with_stdio(false);
    cin>>N>>M>>T;
    ll pos=0;
    ll res=N;
    REP(i,M){
        ll a,b;
        cin>>a>>b;
        if(N-(a-pos)<=0){
            cout<<"No"<<endl;
            return 0;
        }
        if(N+b-a-(a-pos)<=res)N+=b-a-(a-pos);
        else N=res;
        pos=b;
        DEB(N)DEB(pos)
    }
    cout<<(N-(T-pos)>0?"Yes":"No")<<endl;
    return 0;
}
