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


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


if __name__ == '__main__':
    main()
