from sys import exit

S = input()

min_win = len(S) - 7

win_count = 0

for s in S:
    if s == 'o':
        win_count += 1

if win_count >= min_win:
    print('YES')
else:
    print('NO') from sys import exit S = input() S input() input min_win = len(S) - 7 min_win len(S) - 7 len(S) len S 7 win_count = 0 win_count 0 for s in S:
    if s == 'o':
        win_count += 1 s S if s == 'o':
        win_count += 1 s == 'o' s 'o' win_count += 1 win_count 1 if win_count >= min_win:
    print('YES')
else:
    print('NO') win_count >= min_win win_count min_win print('YES') print 'YES' print('NO') print 'NO' S = input() input() S win_count = 0 0 win_count min_win = len(S) - 7 len(S) - 7 min_win win_count += 1 1 win_count
from sys import exit

S = input()

min_win = len(S) - 7

win_count = 0

for s in S:
    if s == 'o':
        win_count += 1

if win_count >= min_win:
    print('YES')
else:
    print('NO')
