import sys
def input(): return sys.stdin.readline().rstrip()
from collections import Counter
def main():
    s=input()
    s_len=len(s)
    c_s=Counter(s)
    if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO")

if __name__=='__main__':
    main() import sys sys def input(): return sys.stdin.readline().rstrip() input from collections import Counter def main():
    s=input()
    s_len=len(s)
    c_s=Counter(s)
    if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO") main s=input() s input() input s_len=len(s) s_len len(s) len s c_s=Counter(s) c_s Counter(s) Counter s if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO") c_s['o']+(15-s_len)>=8 c_s['o']+(15-s_len) c_s['o'] c_s 'o' 15-s_len 15 s_len 8 print("YES") print "YES" if __name__=='__main__':
    main() __name__=='__main__' __name__ '__main__' main() main def input(): return sys.stdin.readline().rstrip() def input(): return sys.stdin.readline().rstrip() input def main():
    s=input()
    s_len=len(s)
    c_s=Counter(s)
    if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO") def main():
    s=input()
    s_len=len(s)
    c_s=Counter(s)
    if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO") main
import sys
def input(): return sys.stdin.readline().rstrip()
from collections import Counter
def main():
    s=input()
    s_len=len(s)
    c_s=Counter(s)
    if c_s['o']+(15-s_len)>=8:
        print("YES")
    else:print("NO")

if __name__=='__main__':
    main()