s = input()

n_win = sum([1 for ss in s if ss == 'o'])
ans = 'YES' if 15-len(s) >= 8-n_win else 'NO'
print(ans) s = input() s input() input 1 for ss in s if ss == 'o' for ss in s if ss == 'o' ss s ss == 'o' ss 'o' if ss == 'o' 1 n_win = sum([1 for ss in s if ss == 'o']) n_win sum([1 for ss in s if ss == 'o']) sum [1 for ss in s if ss == 'o'] ans = 'YES' if 15-len(s) >= 8-n_win else 'NO' ans 'YES' if 15-len(s) >= 8-n_win else 'NO' 15-len(s) >= 8-n_win 15-len(s) 15 len(s) len s 8-n_win 8 n_win 'YES' 'NO' print(ans) print ans n_win = sum([1 for ss in s if ss == 'o']) sum([1 for ss in s if ss == 'o']) n_win s = input() input() s ans = 'YES' if 15-len(s) >= 8-n_win else 'NO' 'YES' if 15-len(s) >= 8-n_win else 'NO' ans
s = input()

n_win = sum([1 for ss in s if ss == 'o'])
ans = 'YES' if 15-len(s) >= 8-n_win else 'NO'
print(ans)
