a = input()
o = 0
x = 0
for i in range(len(a)):
    if a[i] == "o":
        o += 1
    else:
        x += 1
if o + 15-len(a) >= 8:
    print("YES")
else:
    print("NO") a = input() a input() input o = 0 o 0 x = 0 x 0 for i in range(len(a)):
    if a[i] == "o":
        o += 1
    else:
        x += 1 i range(len(a)) range len(a) len a if a[i] == "o":
        o += 1
    else:
        x += 1 a[i] == "o" a[i] a i "o" o += 1 o 1 x += 1 x 1 if o + 15-len(a) >= 8:
    print("YES")
else:
    print("NO") o + 15-len(a) >= 8 o + 15-len(a) o + 15 o 15 len(a) len a 8 print("YES") print "YES" print("NO") print "NO" o += 1 1 o x += 1 1 x a = input() input() a o = 0 0 o x = 0 0 x
a = input()
o = 0
x = 0
for i in range(len(a)):
    if a[i] == "o":
        o += 1
    else:
        x += 1
if o + 15-len(a) >= 8:
    print("YES")
else:
    print("NO")