S = input()
N = len(S)

nokori = 15 - N

if S.count('o') + nokori >= 8:
    print('YES')
else:
    print('NO') S = input() S input() input N = len(S) N len(S) len S nokori = 15 - N nokori 15 - N 15 N if S.count('o') + nokori >= 8:
    print('YES')
else:
    print('NO') S.count('o') + nokori >= 8 S.count('o') + nokori S.count('o') S.count S count 'o' nokori 8 print('YES') print 'YES' print('NO') print 'NO' S = input() input() S N = len(S) len(S) N nokori = 15 - N 15 - N nokori
S = input()
N = len(S)

nokori = 15 - N

if S.count('o') + nokori >= 8:
    print('YES')
else:
    print('NO')
