#include <bits/stdc++.h>   using namespace std;   long long n;   int x[100005], y[100005], num_, num;   int main() {     cin >> n;     for (int i = 0; i < n; i++) {       cin >> x[i] >> y[i];       if (x[i] > 0) {         num++;       } else {         num_++;       }     }     if (num == 1 || num_ == 1 || num == 0 || num_ == 0) {       cout <<  Yes  << endl;       return 0;     } else {       cout <<  No  << endl;       return 0;     }     return 0;   }   