S=input()
print(("NO","YES")[S.count("x")<=7]) S=input() S input() input print(("NO","YES")[S.count("x")<=7]) print ("NO","YES")[S.count("x")<=7] ("NO","YES") "NO" "YES" S.count("x")<=7 S.count("x") S.count S count "x" 7 S=input() input() S
S=input()
print(("NO","YES")[S.count("x")<=7])
