def main():
    s = input()
    x = 15 - len(s)

    if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO")

if __name__ == "__main__":
    main() def main():
    s = input()
    x = 15 - len(s)

    if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO") main s = input() s input() input x = 15 - len(s) x 15 - len(s) 15 len(s) len s if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO") (s.count("o") + x) >= 8 s.count("o") + x s.count("o") s.count s count "o" x 8 print("YES") print "YES" print("NO") print "NO" if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    s = input()
    x = 15 - len(s)

    if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO") def main():
    s = input()
    x = 15 - len(s)

    if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO") main
def main():
    s = input()
    x = 15 - len(s)

    if (s.count("o") + x) >= 8:
        print("YES")
    else:
        print("NO")

if __name__ == "__main__":
    main()