#include <stdio.h> #include <iostream> using namespace std; int main(){ int n,h,m,c; cin>>n; while(n--){ scanf("%d%d%d",&h,&m,&c); int t=m-c; if(t==h) cout<<"does not matter"<<endl; else if(t<h) cout<<"do not advertise"<<endl; else cout<<"advertise"<<endl; } system("PAUSE"); return 0; }