S = input()
N = len(S)

if S.count('x') <= 7:
    print('YES')
else:
    print('NO') S = input() S input() input N = len(S) N len(S) len S 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() input() S N = len(S) len(S) N
S = input()
N = len(S)

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