s = input()
a, b = s.count("o"), s.count("x")
print("YES" if a+15-a-b>=8 else "NO") s = input() s input() input a, b = s.count("o"), s.count("x") a s.count("o") s.count s count "o" b s.count("x") s.count s count "x" print("YES" if a+15-a-b>=8 else "NO") print "YES" if a+15-a-b>=8 else "NO" a+15-a-b>=8 a+15-a-b a+15-a a+15 a 15 a b 8 "YES" "NO" s = input() input() s a, b = s.count("o"), s.count("x") s.count("o") a b = s.count("o"), s.count("x") s.count("x") b
s = input()
a, b = s.count("o"), s.count("x")
print("YES" if a+15-a-b>=8 else "NO")