#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define po pop_back
#define mp make_pair
#define fi first
#define se  second
#define hello ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define MOD 1000000007
using namespace std;
bool comp(ll a,ll b){if(a>b)return true;else return false;}
int isP(ll n){if(n==1)return 0;if(n==2 || n==3)return 1;for(ll i=2;i<=sqrt(n);i++){if(n%i==0)return 0;}return 1;}
ll power(ll a,ll b){if(b==0)return 1;if(b==1) return a;ll t=power(a,b/2);if(b%2==1) return t*t*a;else return t*t;}
ll powMOD(ll x,ll y){if(y==0)return 1;if(y==1)return x;ll t=powMOD(x,y/2);if(y%2==1)return t*t%MOD*x%MOD;else return t*t%MOD;}

int main()
{
    /*//----Hello World----//*/
    //freopen("input.txt","r",stdin);
    //freopen("output.txt","w",stdout);
    hello;
    
    ll t;
//    cin>>t;
    t=1;
    while(t--){
    	ll a,b,c;
    	cin>>a>>b>>c;
    	bool foo=1;
    	if(c==0){
    		if(a<=b) foo=0; 
		}
		else{
			if(a<b) foo=0;
		}
		if(foo) cout<<"Takahashi\n";
		else cout<<"Aoki\n";
	}
    
	/*//----Hello World----//*/
    return 0;  
}
#include "bits/stdc++.h"
using namespace std;
#include "string"
#define int long long
#define pi pair <int, int>
#define ff first
#define ss second
#define boost ios::sync_with_stdio(false);cin.tie(nullptr)
#define endl '\n'
#define vi vector<int>

int32_t main() {
	boost;
	int n, m, t;
	cin >> n >> m >> t;
	int cur = n;
	int pre = 0;
	string ans = "Yes";
	for(int i = 0, x, y; i < m; i++) {
		cin >> x >> y;
		cur -= (x - pre);
		if(cur <= 0) {
			ans = "No";
			break;
		}
		cur = min(n, cur + y - x);
		pre = y;
	}
	cur -=(t - pre);
	if(cur <= 0)
		ans = "No";
	cout << ans << endl;
}

