s = input()

print('YES' if s.count('x') <= 7 else 'NO') s = input() s input() input print('YES' if s.count('x') <= 7 else 'NO') print 'YES' if s.count('x') <= 7 else 'NO' s.count('x') <= 7 s.count('x') s.count s count 'x' 7 'YES' 'NO' s = input() input() s
s = input()

print('YES' if s.count('x') <= 7 else 'NO')