n = len([s for s in input() if s == "x"])
if n < 8: print("YES")
else: print("NO") s for s in input() if s == "x" for s in input() if s == "x" s input() input s == "x" s "x" if s == "x" s n = len([s for s in input() if s == "x"]) n len([s for s in input() if s == "x"]) len [s for s in input() if s == "x"] if n < 8: print("YES")
else: print("NO") n < 8 n 8 n = len([s for s in input() if s == "x"]) len([s for s in input() if s == "x"]) n
n = len([s for s in input() if s == "x"])
if n < 8: print("YES")
else: print("NO")