#include<stdio.h>
int main()
{
int s;
scanf("%d",&s);
while(s--)
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a>b-c)
printf("do not advertise\n");
else if(a==b-c)
printf("does not matter\n");
else
printf("advertise\n");
}
return 0;
}
int main()
{
int s;
scanf("%d",&s);
while(s--)
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a>b-c)
printf("do not advertise\n");
else if(a==b-c)
printf("does not matter\n");
else
printf("advertise\n");
}
return 0;
}