k = input()
win_count = 0
lose_count = 0
for i in range (len(k)):
    if k[i] == "o":
        win_count += 1
    else:
        lose_count += 1
if win_count + (15-len(k))>= 8:
    print("YES")
else:
    print("NO") k = input() k input() input win_count = 0 win_count 0 lose_count = 0 lose_count 0 for i in range (len(k)):
    if k[i] == "o":
        win_count += 1
    else:
        lose_count += 1 i range (len(k)) range len(k) len k if k[i] == "o":
        win_count += 1
    else:
        lose_count += 1 k[i] == "o" k[i] k i "o" win_count += 1 win_count 1 lose_count += 1 lose_count 1 if win_count + (15-len(k))>= 8:
    print("YES")
else:
    print("NO") win_count + (15-len(k))>= 8 win_count + (15-len(k)) win_count 15-len(k) 15 len(k) len k 8 print("YES") print "YES" print("NO") print "NO" lose_count = 0 0 lose_count win_count += 1 1 win_count win_count = 0 0 win_count lose_count += 1 1 lose_count k = input() input() k
k = input()
win_count = 0
lose_count = 0
for i in range (len(k)):
    if k[i] == "o":
        win_count += 1
    else:
        lose_count += 1
if win_count + (15-len(k))>= 8:
    print("YES")
else:
    print("NO")
