cnt = 0
s = input()
for x in s:
  if x == 'x': cnt += 1
print('YES' if cnt < 8 else 'NO') cnt = 0 cnt 0 s = input() s input() input for x in s:
  if x == 'x': cnt += 1 x s if x == 'x': cnt += x == 'x' x 'x' print('YES' if cnt < 8 else 'NO') print 'YES' if cnt < 8 else 'NO' cnt < 8 cnt 8 'YES' 'NO' s = input() input() s cnt = 0 0 cnt
cnt = 0
s = input()
for x in s:
  if x == 'x': cnt += 1
print('YES' if cnt < 8 else 'NO')