#include using namespace std; int main(){ int X1, Y1, X2, Y2, X3; cin >> X1 >> Y1 >> X2 >> Y2 >> X3; cout << (Y1 == Y2 ? "Yes" : "No"); }