def resolve():
    s=input()
    if s.count('x')>=8:
        print('NO')
    else:
        print('YES')
resolve() def resolve():
    s=input()
    if s.count('x')>=8:
        print('NO')
    else:
        print('YES') resolve s=input() s input() input if s.count('x')>=8:
        print('NO')
    else:
        print('YES') s.count('x')>=8 s.count('x') s.count s count 'x' 8 print('NO') print 'NO' print('YES') print 'YES' resolve() resolve def resolve():
    s=input()
    if s.count('x')>=8:
        print('NO')
    else:
        print('YES') def resolve():
    s=input()
    if s.count('x')>=8:
        print('NO')
    else:
        print('YES') resolve
def resolve():
    s=input()
    if s.count('x')>=8:
        print('NO')
    else:
        print('YES')
resolve()
