S = input()
rest = 15
win = 0
for c in S:
    if c == 'o':
        win += 1
    rest -= 1
if win + rest >= 8:
    print("YES")
else:
    print("NO") S = input() S input() input rest = 15 rest 15 win = 0 win 0 for c in S:
    if c == 'o':
        win += 1
    rest -= 1 c S if c == 'o':
        win += 1
     c == 'o' c 'o' win += 1 win 1 rest -= 1 rest 1 if win + rest >= 8:
    print("YES")
else:
    print("NO") win + rest >= 8 win + rest win rest 8 print("YES") print "YES" print("NO") print "NO" S = input() input() S win += 1 1 win win = 0 0 win rest -= 1 1 rest rest = 15 15 rest
S = input()
rest = 15
win = 0
for c in S:
    if c == 'o':
        win += 1
    rest -= 1
if win + rest >= 8:
    print("YES")
else:
    print("NO")