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