s = input()

bl = s.count("x") <= 7
print("YES" if bl else "NO") s = input() s input() input bl = s.count("x") <= 7 bl s.count("x") <= 7 s.count("x") s.count s count "x" 7 print("YES" if bl else "NO") print "YES" if bl else "NO" bl "YES" "NO" bl = s.count("x") <= 7 s.count("x") <= 7 bl s = input() input() s
s = input()

bl = s.count("x") <= 7
print("YES" if bl else "NO")
