S = input()
day = 15 - len(S)
print("YES") if S.count("o") + day >= 8 else print("NO") S = input() S input() input day = 15 - len(S) day 15 - len(S) 15 len(S) len S print("YES") if S.count("o") + day >= 8 else print("NO") S.count("o") + day >= 8 S.count("o") + day S.count("o") S.count S count "o" day 8 print("YES") print "YES" print("NO") print "NO" day = 15 - len(S) 15 - len(S) day S = input() input() S
S = input()
day = 15 - len(S)
print("YES") if S.count("o") + day >= 8 else print("NO")
