import numpy as np
str = input()
char_list = list(str)
lest_win=8-char_list.count("o")
lest_day=15-len(char_list)
if lest_win > lest_day:
    print("NO")
else:
    print("YES") import numpy as np numpy str = input() str input() input char_list = list(str) char_list list(str) list str lest_win=8-char_list.count("o") lest_win 8-char_list.count("o") 8 char_list.count("o") char_list.count char_list count "o" lest_day=15-len(char_list) lest_day 15-len(char_list) 15 len(char_list) len char_list if lest_win > lest_day:
    print("NO")
else:
    print("YES") lest_win > lest_day lest_win lest_day print("NO") print "NO" print("YES") print "YES" lest_day=15-len(char_list) 15-len(char_list) lest_day lest_win=8-char_list.count("o") 8-char_list.count("o") lest_win char_list = list(str) list(str) char_list str = input() input() str
import numpy as np
str = input()
char_list = list(str)
lest_win=8-char_list.count("o")
lest_day=15-len(char_list)
if lest_win > lest_day:
    print("NO")
else:
    print("YES")