s=input();print("YNEOS"[s.count("o")+15-len(s)<8::2]) s=input() s input() input print("YNEOS"[s.count("o")+15-len(s)<8::2]) print "YNEOS"[s.count("o")+15-len(s)<8::2] "YNEOS" s.count("o")+15-len(s)<8::2 s.count("o")+15-len(s)<8 s.count("o")+15-len(s) s.count("o")+15 s.count("o") s.count s count "o" 15 len(s) len s 8 2 s=input() input() s
s=input();print("YNEOS"[s.count("o")+15-len(s)<8::2])