#include <bits/stdc++.h>   using namespace std;   signed main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     long long n;     cin >> n;     long long a[n], b[n];     for (long long i = 0; i < n; i++) {       cin >> a[i] >> b[i];     }     for (long long i = 0; i < n; i++) {       if (a[i] != b[i]) {         cout <<  rated ;         return 0;       }     }     for (long long i = 0; i < n - 1; i++) {       if (a[i + 1] > a[i]) {         cout <<  unrated ;         return 0;       }     }     cout <<  maybe ;     return 0;   }   