s=input()
l=[x=="o" for x in s]
print("YES" if 15-len(s)+sum(l)>7 else "NO") s=input() s input() input x=="o" for x in s for x in s x s for x in s x=="o" x "o" l=[x=="o" for x in s] l [x=="o" for x in s] print("YES" if 15-len(s)+sum(l)>7 else "NO") print "YES" if 15-len(s)+sum(l)>7 else "NO" 15-len(s)+sum(l)>7 15-len(s)+sum(l) 15-len(s) 15 len(s) len s sum(l) sum l 7 "YES" "NO" s=input() input() s l=[x=="o" for x in s] [x=="o" for x in s] l
s=input()
l=[x=="o" for x in s]
print("YES" if 15-len(s)+sum(l)>7 else "NO")