include
include
using namespace std;
int main() {
int t;
cin>>t;
for(int i=0;i<t;i++){
string s;
cin>>s;
string p=“CODETOWN”;
string v=“AEIOU”;
int c=0;
int d=0;
for(int j=0; j<8;j++){
for(int k=0; k<5;k++){
if(s[j]==v[k]){
c++;
d=d+j;
}
}
}
if(c==3 && d==9 && p.length()==s.length()){
cout<<"YES\n";
}
else{
cout<<"NO\n";
}
}
return 0;
}
#i think this is the right code please help me find where i’m mistaken