# -*- coding: utf-8 -*-

import sys
import copy

sys.setrecursionlimit(1000000)

# input = sys.stdin.readline

# ~~~~~~~~~~~~~~~~~~~~~_(＾～＾ ｣ ∠)_~~~~~~~~~~~~~~~~~~~~~

S = input().rstrip()

win = 0
length = len(S)

for i in range(length):
    if S[i] == 'o':
        win += 1

win += 15 - length

if win >= 8:
    print("YES")
else:
    print("NO") import sys sys import copy copy sys.setrecursionlimit(1000000) sys.setrecursionlimit sys setrecursionlimit 1000000 S = input().rstrip() S input().rstrip() ().rstrip () input rstrip win = 0 win 0 length = len(S) length len(S) len S for i in range(length):
    if S[i] == 'o':
        win += 1 i range(length) range length if S[i] == 'o':
        win += 1 S[i] == 'o' S[i] S i 'o' win += 1 win 1 win += 15 - length win 15 - length 15 length if win >= 8:
    print("YES")
else:
    print("NO") win >= 8 win 8 print("YES") print "YES" print("NO") print "NO" win += 15 - length 15 - length win length = len(S) len(S) length win += 1 1 win win = 0 0 win S = input().rstrip() input().rstrip() S
# -*- coding: utf-8 -*-

import sys
import copy

sys.setrecursionlimit(1000000)

# input = sys.stdin.readline

# ~~~~~~~~~~~~~~~~~~~~~_(＾～＾ ｣ ∠)_~~~~~~~~~~~~~~~~~~~~~

S = input().rstrip()

win = 0
length = len(S)

for i in range(length):
    if S[i] == 'o':
        win += 1

win += 15 - length

if win >= 8:
    print("YES")
else:
    print("NO")
