2026-01-13 22:44:15 +09:00

2 lines
92 B
Python

for _ in range(int(input())) :
print("yes" if 6 <= len(input().rstrip()) <= 9 else "no")