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