#include<iostream>
#include<cstring>
using namespace std;
struct stu{
string name;
double a,b;
double score;
};
int main(){
stu st[99];
int n;
cin>> n ;
for(int i=0;i<n;i++){
cin>>st[i].name>>st[i].a>>st[i].b;
st[i].score=st[i].a+st[i].b;}
for(int j=0;j<n;j++){
if(st[j].score>140&&st[j].a*7+st[j].b*3>=800)
cout<<"Excellent"<<endl;
else
cout<<"Not excellent"<<endl;
}
return 0;
}```
全re.........