#include<iostream>
using namespace std;
int main(){
int N;
string S;
cin >> N;
for(int i=0; i<N; i++){
cin >> S;
if(S.length() >= 6 && S.length() <= 9){
cout << "yes\n";
}
else{
cout << "no\n";
}
}
return 0;
}
'알고리즘' 카테고리의 다른 글
[알고리즘] 백준 9295 - 주사위 (0) | 2024.07.13 |
---|---|
[알고리즘] 백준 13752 - 히스토그램 (0) | 2024.07.12 |
[알고리즘] 백준 13277 - 큰 수 곱셈 (0) | 2024.07.10 |
[알고리즘] 백준 2629 - 양팔저울 (0) | 2024.07.08 |
[알고리즘] 프로그래머스 - 가장 많이 받은 선물 (0) | 2024.07.07 |