s=input()
s+="o"*(15-len(s))
print("YES" if s.count("o")>=8 else "NO") s=input() s input() input s+="o"*(15-len(s)) s "o"*(15-len(s)) "o" 15-len(s) 15 len(s) len s print("YES" if s.count("o")>=8 else "NO") print "YES" if s.count("o")>=8 else "NO" s.count("o")>=8 s.count("o") s.count s count "o" 8 "YES" "NO" s=input() input() s s+="o"*(15-len(s)) "o"*(15-len(s)) s
s=input()
s+="o"*(15-len(s))
print("YES" if s.count("o")>=8 else "NO")
