S = str(input())
count = S.count("o")
if (count-len(S)) >= -7:
    print("YES")
else:
    print("NO") S = str(input()) S str(input()) str input() input count = S.count("o") count S.count("o") S.count S count "o" if (count-len(S)) >= -7:
    print("YES")
else:
    print("NO") (count-len(S)) >= -7 count-len(S) count len(S) len S -7 print("YES") print "YES" print("NO") print "NO" count = S.count("o") S.count("o") count S = str(input()) str(input()) S
S = str(input())
count = S.count("o")
if (count-len(S)) >= -7:
    print("YES")
else:
    print("NO")
