#include #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") using namespace std; int main() { cin.tie(0); cout.tie(0); ios::sync_with_stdio(false); int X1, Y1, X2, Y2, X3; cin >> X1 >> Y1 >> X2 >> Y2 >> X3; cout << (abs(Y1) == abs(Y2) ? "Yes\n" : "No\n"); return 0; }