s = input()

cnt = 0
for i in s:
    if (i == 'o'):
        cnt += 1
print('YES' if len(s) - cnt <= 7 else '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 print('YES' if len(s) - cnt <= 7 else 'NO') print 'YES' if len(s) - cnt <= 7 else 'NO' len(s) - cnt <= 7 len(s) - cnt len(s) len s cnt 7 'YES' 'NO' s = input() input() s cnt = 0 0 cnt cnt += 1 1 cnt
s = input()

cnt = 0
for i in s:
    if (i == 'o'):
        cnt += 1
print('YES' if len(s) - cnt <= 7 else 'NO')
