import sys


def slove():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO")


if __name__ == '__main__':
    slove() import sys sys def slove():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO") slove input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline mod = 10 ** 9 + 7 mod 10 ** 9 + 7 10 ** 9 10 9 7 s = str(input().rstrip('\n')) s str(input().rstrip('\n')) str input().rstrip('\n') ().rstrip () input rstrip '\n' print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO") print "YES" if s.count("o") >= 8 - (15 - len(s)) else "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 "YES" "NO" if __name__ == '__main__':
    slove() __name__ == '__main__' __name__ '__main__' slove() slove def slove():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO") def slove():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO") slove
import sys


def slove():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    print("YES" if s.count("o") >= 8 - (15 - len(s)) else "NO")


if __name__ == '__main__':
    slove()
