#include<iostream>
#include<cmath>
using namespace std;

int main()
{
	double x[3],y[3],xp,yp;

	while(cin >> x[0] >> y[0] >> x[1] >> y[1] >> x[2] >> y[2] >> xp >> yp){
		
		xp+=100;
		yp+=100;
		for(int i=0;i<3;++i){
			x[i]+=100;
			y[i]+=100;
		}

		if(abs(x[0]-x[1]) >xp || abs(x[1]-x[2]) > xp || abs(x[0]-x[2]) > xp &&
		   abs(y[0]-y[1]) >yp || abs(y[1]-y[2]) > yp || abs(y[0]-y[2]) > yp)
			   cout << "YES" << endl;
		else
			cout << "NO" << endl;
	}

	return 0;
}