func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, a, i, c = 0, b;     cin >> n;     char name[15];     for (i = 0; i < n; i++) {       cin >> name;       cin >> b >> a;       if (b >= 2400 && a > b) c = 1;     }     if (c == 1)       cout <<  YES  << endl;     else       cout <<  NO  << endl;   }   