S = input()
print('YES' if 7-len(S)>=-sum([c=='o' for c in S]) else 'NO') S = input() S input() input c=='o' for c in S for c in S c S for c in S c=='o' c 'o' print('YES' if 7-len(S)>=-sum([c=='o' for c in S]) else 'NO') print 'YES' if 7-len(S)>=-sum([c=='o' for c in S]) else 'NO' 7-len(S)>=-sum([c=='o' for c in S]) 7-len(S) 7 len(S) len S -sum([c=='o' for c in S]) sum([c=='o' for c in S]) sum [c=='o' for c in S] 'YES' 'NO' S = input() input() S
S = input()
print('YES' if 7-len(S)>=-sum([c=='o' for c in S]) else 'NO')