S=input()
print("YES" if S.count("x")<8 else "NO") S=input() S input() input print("YES" if S.count("x")<8 else "NO") print "YES" if S.count("x")<8 else "NO" S.count("x")<8 S.count("x") S.count S count "x" 8 "YES" "NO" S=input() input() S
S=input()
print("YES" if S.count("x")<8 else "NO")
