s = input()
rest = 15- len(s)
print('YES') if s.count('o') + rest >=8 else print('NO')  s = input() s input() input rest = 15- len(s) rest 15- len(s) 15 len(s) len s print('YES') if s.count('o') + rest >=8 else print('NO') s.count('o') + rest >=8 s.count('o') + rest s.count('o') s.count s count 'o' rest 8 print('YES') print 'YES' print('NO') print 'NO' s = input() input() s rest = 15- len(s) 15- len(s) rest
s = input()
rest = 15- len(s)
print('YES') if s.count('o') + rest >=8 else print('NO') 