S = input()

cnt = 0
for i in S:
    if(i=='o'):
        cnt += 1
if(15-len(S)+cnt>=8):
    print('YES')
else:
    print('NO') S = input() S input() input cnt = 0 cnt 0 for i in S:
    if(i=='o'):
        cnt += 1 i S if(i=='o'):
        cnt += 1 i=='o' i 'o' cnt += 1 cnt 1 if(15-len(S)+cnt>=8):
    print('YES')
else:
    print('NO') 15-len(S)+cnt>=8 15-len(S)+cnt 15-len(S) 15 len(S) len S cnt 8 print('YES') print 'YES' print('NO') print 'NO' cnt += 1 1 cnt cnt = 0 0 cnt S = input() input() S
S = input()

cnt = 0
for i in S:
    if(i=='o'):
        cnt += 1
if(15-len(S)+cnt>=8):
    print('YES')
else:
    print('NO')
