func_code_string: #include <bits/stdc++.h>   using namespace std;   void solve() {     int n, x, y, c1 = 0, c2 = 0, m;     cin >> n;     for (int i = 0; i < n; i++) {       cin >> x >> y;       if (x > 0)         c1++;       else         c2++;     }     m = min(c1, c2);     if (m <= 1)       cout <<  YES  << endl;     else       cout <<  NO  << endl;   }   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     { solve(); }     return 0;   }   