#include <bits/stdc++.h>
using namespace std;
int main(){
// #ifndef ONLINE_JUDGE
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// #endif
int startx, starty, destx, desty, charge;
cin >> startx >> starty >> destx >> desty >> charge;
int dist = abs(destx - startx) + abs(desty - starty);
if(charge >= dist && (charge - dist) % 2 == 0){
cout << "Y" << endl;
} else {
cout << "N" << endl;
}
return 0;
}