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