import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    S = input()
    l = len(S)
    x = S.count("o")
    y = 15 - l

    if x + y >= 8:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main() import sys sys readline = sys.stdin.readline readline sys.stdin.readline sys.stdin sys stdin readline MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 INF = float('INF') INF float('INF') float 'INF' sys.setrecursionlimit(10 ** 5) sys.setrecursionlimit sys setrecursionlimit 10 ** 5 10 5 def main():
    S = input()
    l = len(S)
    x = S.count("o")
    y = 15 - l

    if x + y >= 8:
        print("YES")
    else:
        print("NO") main S = input() S input() input l = len(S) l len(S) len S x = S.count("o") x S.count("o") S.count S count "o" y = 15 - l y 15 - l 15 l if x + y >= 8:
        print("YES")
    else:
        print("NO") x + y >= 8 x + y x y 8 print("YES") print "YES" print("NO") print "NO" if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main readline = sys.stdin.readline sys.stdin.readline readline MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD INF = float('INF') float('INF') INF def main():
    S = input()
    l = len(S)
    x = S.count("o")
    y = 15 - l

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

    if x + y >= 8:
        print("YES")
    else:
        print("NO") main
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    S = input()
    l = len(S)
    x = S.count("o")
    y = 15 - l

    if x + y >= 8:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()
