S = input()
left = 15 - len(S)
now = sum([1 for s in S if s == "o"])
if now + left >= 8:
    print("YES")
else:
    print("NO") S = input() S input() input left = 15 - len(S) left 15 - len(S) 15 len(S) len S 1 for s in S if s == "o" for s in S if s == "o" s S s == "o" s "o" if s == "o" 1 now = sum([1 for s in S if s == "o"]) now sum([1 for s in S if s == "o"]) sum [1 for s in S if s == "o"] if now + left >= 8:
    print("YES")
else:
    print("NO") now + left >= 8 now + left now left 8 print("YES") print "YES" print("NO") print "NO" S = input() input() S now = sum([1 for s in S if s == "o"]) sum([1 for s in S if s == "o"]) now left = 15 - len(S) 15 - len(S) left
S = input()
left = 15 - len(S)
now = sum([1 for s in S if s == "o"])
if now + left >= 8:
    print("YES")
else:
    print("NO")
