def main():
    grade = input()
    count_win = 0
    for g in grade:
        if g == "o":
            count_win += 1
    print("YES" if count_win + 15 - len(grade) >= 8 else "NO")


if __name__ == '__main__':
    main()
 def main():
    grade = input()
    count_win = 0
    for g in grade:
        if g == "o":
            count_win += 1
    print("YES" if count_win + 15 - len(grade) >= 8 else "NO") main grade = input() grade input() input count_win = 0 count_win 0 for g in grade:
        if g == "o":
            count_win += 1
     g grade if g == "o":
            count_win += 1
     g == "o" g "o" count_win += 1 count_win 1 print("YES" if count_win + 15 - len(grade) >= 8 else "NO") print "YES" if count_win + 15 - len(grade) >= 8 else "NO" count_win + 15 - len(grade) >= 8 count_win + 15 - len(grade) count_win + 15 count_win 15 len(grade) len grade 8 "YES" "NO" if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    grade = input()
    count_win = 0
    for g in grade:
        if g == "o":
            count_win += 1
    print("YES" if count_win + 15 - len(grade) >= 8 else "NO") def main():
    grade = input()
    count_win = 0
    for g in grade:
        if g == "o":
            count_win += 1
    print("YES" if count_win + 15 - len(grade) >= 8 else "NO") main
def main():
    grade = input()
    count_win = 0
    for g in grade:
        if g == "o":
            count_win += 1
    print("YES" if count_win + 15 - len(grade) >= 8 else "NO")


if __name__ == '__main__':
    main()

