s=input()
s_num=len(s)
t=""
t+=s+"o"*(15-s_num)
s_win=t.count("o")
print(["NO","YES"][s_win>=8]) s=input() s input() input s_num=len(s) s_num len(s) len s t="" t "" t+=s+"o"*(15-s_num) t s+"o"*(15-s_num) s "o"*(15-s_num) "o" 15-s_num 15 s_num s_win=t.count("o") s_win t.count("o") t.count t count "o" print(["NO","YES"][s_win>=8]) print ["NO","YES"][s_win>=8] ["NO","YES"] "NO" "YES" s_win>=8 s_win 8 t="" "" t s_win=t.count("o") t.count("o") s_win t+=s+"o"*(15-s_num) s+"o"*(15-s_num) t s=input() input() s s_num=len(s) len(s) s_num
s=input()
s_num=len(s)
t=""
t+=s+"o"*(15-s_num)
s_win=t.count("o")
print(["NO","YES"][s_win>=8])