import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    S = readline().decode('utf-8').strip()
    if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO')

if __name__ == '__main__':
    main() import sys sys read = sys.stdin.read read sys.stdin.read sys.stdin sys stdin read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline sys.setrecursionlimit(10 ** 8) sys.setrecursionlimit sys setrecursionlimit 10 ** 8 10 8 INF = float('inf') INF float('inf') float 'inf' MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 def main():
    S = readline().decode('utf-8').strip()
    if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO') main S = readline().decode('utf-8').strip() S readline().decode('utf-8').strip() ().decode('utf-8').strip ().decode('utf-8') ().decode () readline decode 'utf-8' strip if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO') S.count('o') + (15-len(S)) >= 8 S.count('o') + (15-len(S)) S.count('o') S.count S count 'o' 15-len(S) 15 len(S) len S 8 print('YES') print 'YES' print('NO') print 'NO' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main INF = float('inf') float('inf') INF read = sys.stdin.read sys.stdin.read read MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline def main():
    S = readline().decode('utf-8').strip()
    if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO') def main():
    S = readline().decode('utf-8').strip()
    if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO') main
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    S = readline().decode('utf-8').strip()
    if S.count('o') + (15-len(S)) >= 8:
        print('YES')
    else:
        print('NO')

if __name__ == '__main__':
    main()
