S = input()
cnt = 0

for s in S:
    if s == "x":
        continue

    else:
        cnt += 1

if 15 - len(S) + cnt >= 8:
    print("YES")
else:
    print("NO") S = input() S input() input cnt = 0 cnt 0 for s in S:
    if s == "x":
        continue

    else:
        cnt += 1 s S if s == "x":
        continue

    else:
        cnt += 1 s == "x" s "x" continue cnt += 1 cnt 1 if 15 - len(S) + cnt >= 8:
    print("YES")
else:
    print("NO") 15 - len(S) + cnt >= 8 15 - len(S) + cnt 15 - len(S) 15 len(S) len S cnt 8 print("YES") print "YES" print("NO") print "NO" S = input() input() S cnt = 0 0 cnt cnt += 1 1 cnt
S = input()
cnt = 0

for s in S:
    if s == "x":
        continue

    else:
        cnt += 1

if 15 - len(S) + cnt >= 8:
    print("YES")
else:
    print("NO")
