print('YES' if sum([c=='x' for c in input()])<8 else 'NO') c=='x' for c in input() for c in input() c input() input for c in input() c=='x' c 'x' print('YES' if sum([c=='x' for c in input()])<8 else 'NO') print 'YES' if sum([c=='x' for c in input()])<8 else 'NO' sum([c=='x' for c in input()])<8 sum([c=='x' for c in input()]) sum [c=='x' for c in input()] 8 'YES' 'NO'
print('YES' if sum([c=='x' for c in input()])<8 else 'NO')