s = input()
cnt = s.count('x')
if cnt <= 7:
    print("YES")
else:
    print("NO") s = input() s input() input cnt = s.count('x') cnt s.count('x') s.count s count 'x' if cnt <= 7:
    print("YES")
else:
    print("NO") cnt <= 7 cnt 7 print("YES") print "YES" print("NO") print "NO" s = input() input() s cnt = s.count('x') s.count('x') cnt
s = input()
cnt = s.count('x')
if cnt <= 7:
    print("YES")
else:
    print("NO")