s = input()
o = s.count('o')

ans = "YES" if o + (15 - len(s)) > 7 else "NO"
print(ans) s = input() s input() input o = s.count('o') o s.count('o') s.count s count 'o' ans = "YES" if o + (15 - len(s)) > 7 else "NO" ans "YES" if o + (15 - len(s)) > 7 else "NO" o + (15 - len(s)) > 7 o + (15 - len(s)) o 15 - len(s) 15 len(s) len s 7 "YES" "NO" print(ans) print ans ans = "YES" if o + (15 - len(s)) > 7 else "NO" "YES" if o + (15 - len(s)) > 7 else "NO" ans s = input() input() s o = s.count('o') s.count('o') o
s = input()
o = s.count('o')

ans = "YES" if o + (15 - len(s)) > 7 else "NO"
print(ans)