S = input()
print("YES" if S.count("o") >= abs(len(S)-7) or len(S) < 8 else "NO") S = input() S input() input print("YES" if S.count("o") >= abs(len(S)-7) or len(S) < 8 else "NO") print "YES" if S.count("o") >= abs(len(S)-7) or len(S) < 8 else "NO" S.count("o") >= abs(len(S)-7) or len(S) < 8 S.count("o") >= abs(len(S)-7) S.count("o") S.count S count "o" abs(len(S)-7) abs len(S)-7 len(S) len S 7 len(S) < 8 len(S) len S 8 "YES" "NO" S = input() input() S
S = input()
print("YES" if S.count("o") >= abs(len(S)-7) or len(S) < 8 else "NO")