# M-SOLUTIONS プロコンオープン: B – Sumo
S = input()

num_win = S.count('o')
print('YES' if 15 - len(S) >= 8 - num_win else 'NO') S = input() S input() input num_win = S.count('o') num_win S.count('o') S.count S count 'o' print('YES' if 15 - len(S) >= 8 - num_win else 'NO') print 'YES' if 15 - len(S) >= 8 - num_win else 'NO' 15 - len(S) >= 8 - num_win 15 - len(S) 15 len(S) len S 8 - num_win 8 num_win 'YES' 'NO' S = input() input() S num_win = S.count('o') S.count('o') num_win
# M-SOLUTIONS プロコンオープン: B – Sumo
S = input()

num_win = S.count('o')
print('YES' if 15 - len(S) >= 8 - num_win else 'NO')