s = str(input())
n = len(s)
x = s.count('o') + (15 - n)
ans = 'YES' if x >= 8 else 'NO'
print(ans) s = str(input()) s str(input()) str input() input n = len(s) n len(s) len s x = s.count('o') + (15 - n) x s.count('o') + (15 - n) s.count('o') s.count s count 'o' 15 - n 15 n ans = 'YES' if x >= 8 else 'NO' ans 'YES' if x >= 8 else 'NO' x >= 8 x 8 'YES' 'NO' print(ans) print ans n = len(s) len(s) n ans = 'YES' if x >= 8 else 'NO' 'YES' if x >= 8 else 'NO' ans s = str(input()) str(input()) s x = s.count('o') + (15 - n) s.count('o') + (15 - n) x
s = str(input())
n = len(s)
x = s.count('o') + (15 - n)
ans = 'YES' if x >= 8 else 'NO'
print(ans)