#include<iostream>
using namespace std;

int main(){
	int n=2,ab=0,cd=0;
	double point1[20]={0.0,0.0,1.0,1.0,1.0,0.0,2.0,1.0};
	double point2[20]={3.0,2.0,9.0,6.0,13.0,5.0,7.0,9.0};
	
	ab = ((1.0-0.0)/(1.0-0.0));
	cd = ((1.0-0.0)/(2.0-1.0));

	if( ab = cd) cout << "YES\n" ;
	else cout << "NO\n" ;
	
	ab = ((6.0-2.0)/(9.0-3.0));
	cd = ((9.0-5.0)/(7.0-13.0));

	if( ab = cd) cout << "YES\n" ;
	else cout << "NO\n" ;

    return 0;
}