s = input()
win = 15 - len(s)
for i in range(len(s)):
  if s[i] == 'o':
    win += 1
print('YES' if win >= 8 else 'NO') s = input() s input() input win = 15 - len(s) win 15 - len(s) 15 len(s) len s for i in range(len(s)):
  if s[i] == 'o':
    win += 1 i range(len(s)) range len(s) len s if s[i] == 'o':
    win += 1 s[i] == 'o' s[i] s i 'o' win += 1 win 1 print('YES' if win >= 8 else 'NO') print 'YES' if win >= 8 else 'NO' win >= 8 win 8 'YES' 'NO' win += 1 1 win s = input() input() s win = 15 - len(s) 15 - len(s) win
s = input()
win = 15 - len(s)
for i in range(len(s)):
  if s[i] == 'o':
    win += 1
print('YES' if win >= 8 else 'NO')