import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()

    if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

    print(ans)


if __name__ == "__main__":
    main() import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline def main():
    S = input().rstrip()

    if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

    print(ans) main S = input().rstrip() S input().rstrip() ().rstrip () input rstrip if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

     S.count("x") >= 8 S.count("x") S.count S count "x" 8 ans = "NO" ans "NO" ans = "YES" ans "YES" print(ans) print ans if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main input = sys.stdin.readline sys.stdin.readline input def main():
    S = input().rstrip()

    if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

    print(ans) def main():
    S = input().rstrip()

    if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

    print(ans) main
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()

    if S.count("x") >= 8:
        ans = "NO"
    else:
        ans = "YES"

    print(ans)


if __name__ == "__main__":
    main()
