S = input()
a = S.count('x')
if a <=7:
  print('YES')
else:
  print('NO') S = input() S input() input a = S.count('x') a S.count('x') S.count S count 'x' if a <=7:
  print('YES')
else:
  print('NO') a <=7 a 7 print('YES') print 'YES' print('NO') print 'NO' a = S.count('x') S.count('x') a S = input() input() S
S = input()
a = S.count('x')
if a <=7:
  print('YES')
else:
  print('NO')