#include using namespace std; int main(){ int x0,y0,x1,y1,x2; cin >> x0 >> y0 >> x1 >> y1 >> x2; cout << (abs(y0)==abs(y1)?"Yes":"No") << endl; }