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