#include <bits/stdc++.h>   class Solver {    public:     Solver() = default;     void read() {       int n;       std::cin >> n;       int left = 0;       int right = 0;       for (int i = 0; i < n; ++i) {         int x, y;         std::cin >> x >> y;         if (x < 0)           left++;         else           right++;       }       if (left <= 1 || right <= 1)         std::cout <<  Yes n ;       else         std::cout <<  No n ;     }     void solve() {}     void write() {}   };   int main() {     Solver solver;     solver.read();     solver.solve();     solver.write();     return 0;   }   