S = input()
a = S.count("x")
if(a >= 8): print("NO")
else: print("YES") S = input() S input() input a = S.count("x") a S.count("x") S.count S count "x" if(a >= 8): print("NO")
else: print("YES") a >= 8 a 8 a = S.count("x") S.count("x") a S = input() input() S
S = input()
a = S.count("x")
if(a >= 8): print("NO")
else: print("YES")