S=input()
print(("NO","YES")[S.count("o")+(15-len(S))>=8]) S=input() S input() input print(("NO","YES")[S.count("o")+(15-len(S))>=8]) print ("NO","YES")[S.count("o")+(15-len(S))>=8] ("NO","YES") "NO" "YES" S.count("o")+(15-len(S))>=8 S.count("o")+(15-len(S)) S.count("o") S.count S count "o" 15-len(S) 15 len(S) len S 8 S=input() input() S
S=input()
print(("NO","YES")[S.count("o")+(15-len(S))>=8])
