n = int(input())
for i in range(n):
r, e, c = map(int, input().split())
if r < e-c:
print("advertise")
elif r == e-c:
print("does not matter")
else:
print("do not advertise")
'코테 준비' 카테고리의 다른 글
백준 10886번 - 0 = not cute / 1 = cute(Python) (0) | 2022.05.23 |
---|---|
백준 7567번 - 그릇(Python) (0) | 2022.05.21 |
백준 2754번 - 학점계산(Python) (0) | 2022.03.25 |
백준 10156번 - 과자(Python) (0) | 2022.03.20 |
백준 2476번 - 주사위 게임(Python) (0) | 2022.03.20 |