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