#include <iostream>
using namespace std;
int main()
{
int n,i,j,k;
cin>>n;
while(n--){
cin>>i>>j>>k;
if(i>j-k) cout<<"do not advertise"<<endl;
else if(i==j-k) cout<<"does not matter"<<endl;
else cout<<"advertise"<<endl;
}
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int n,i,j,k;
cin>>n;
while(n--){
cin>>i>>j>>k;
if(i>j-k) cout<<"do not advertise"<<endl;
else if(i==j-k) cout<<"does not matter"<<endl;
else cout<<"advertise"<<endl;
}
return 0;
}