func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     short n;     int n1, n2;     bool state = false;     char handle[11];     cin >> n;     for (short i = 0; i < n; i++) {       cin >> handle;       cin >> n1;       cin >> n2;       if (n1 >= 2400 && n2 > n1) state = true;     }     if (state)       cout <<  YES  << endl;     else       cout <<  NO  << endl;     return 0;   }   