print(["NO","YES"][input().count("x")<8]) print(["NO","YES"][input().count("x")<8]) print ["NO","YES"][input().count("x")<8] ["NO","YES"] "NO" "YES" input().count("x")<8 input().count("x") ().count () input count "x" 8
print(["NO","YES"][input().count("x")<8])