if __name__ == '__main__':
    s=input()
    count=0
    for i in s:
        if i=="o":
            count+=1
    if 15- len(s) >=8-count:
        print("YES")
    else:
        print("NO") if __name__ == '__main__':
    s=input()
    count=0
    for i in s:
        if i=="o":
            count+=1
    if 15- len(s) >=8-count:
        print("YES")
    else:
        print("NO") __name__ == '__main__' __name__ '__main__' s=input() s input() input count=0 count 0 for i in s:
        if i=="o":
            count+=1
     i s if i=="o":
            count+=1
     i=="o" i "o" count+=1 count 1 if 15- len(s) >=8-count:
        print("YES")
    else:
        print("NO") 15- len(s) >=8-count 15- len(s) 15 len(s) len s 8-count 8 count print("YES") print "YES" print("NO") print "NO" count=0 0 count count+=1 1 count s=input() input() s
if __name__ == '__main__':
    s=input()
    count=0
    for i in s:
        if i=="o":
            count+=1
    if 15- len(s) >=8-count:
        print("YES")
    else:
        print("NO")