func_code_string: #include <bits/stdc++.h>   using namespace std;   template <class TH>   void _dbg(const char *sdbg, TH h) {     cerr << sdbg <<  =  << h <<   n ;   }   template <class TH, class... TA>   void _dbg(const char *sdbg, TH h, TA... a) {     while (*sdbg !=  , ) cerr << *sdbg++;     cerr <<  =  << h <<  , ;     _dbg(sdbg + 1, a...);   }   long long test;   long long n, maybe, maks = 1000000007;   void solve() {     cin >> n;     for (long long i = 1; i <= (n); ++i) {       long long a, b;       cin >> a >> b;       if (a != b) {         cout <<  rated ;         return;       }       if (maks < a) {         maybe = 1;       }       maks = min(maks, a);     }     if (maybe) {       cout <<  unrated ;     } else {       cout <<  maybe ;     }     return;   }   int32_t main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.precision(10);     cout << fixed;     test = 1;     while (test--) {       solve();     }     return 0;   }   