import sys


def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("x") < 8 else "NO")


if __name__ == '__main__':
    solve() import sys sys def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("x") < 8 else "NO") solve input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline mod = 10 ** 9 + 7 mod 10 ** 9 + 7 10 ** 9 10 9 7 s = str(input().rstrip('\n')) s str(input().rstrip('\n')) str input().rstrip('\n') ().rstrip () input rstrip '\n' print("YES" if s.count("x") < 8 else "NO") print "YES" if s.count("x") < 8 else "NO" s.count("x") < 8 s.count("x") s.count s count "x" 8 "YES" "NO" if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("x") < 8 else "NO") def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("x") < 8 else "NO") solve
import sys


def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("x") < 8 else "NO")


if __name__ == '__main__':
    solve()
