s = input()
print("NO" if s.count("x") >= 8 else "YES") s = input() s input() input print("NO" if s.count("x") >= 8 else "YES") print "NO" if s.count("x") >= 8 else "YES" s.count("x") >= 8 s.count("x") s.count s count "x" 8 "NO" "YES" s = input() input() s
s = input()
print("NO" if s.count("x") >= 8 else "YES")