#include using namespace std; int main(){ int q,j; cin >> q; char h[]={'h','a','c','k','e','r','r','a','n','k'}; for(int a = 0; a < q; a++){ char s[10000]; cin >> s; j=0; for(int i = 0; i 8)cout<<"YES\n"; else cout<<"NO\n";// your code goes here } return 0; }