print("YNEOS"[input().count("x")>=8::2]) print("YNEOS"[input().count("x")>=8::2]) print "YNEOS"[input().count("x")>=8::2] "YNEOS" input().count("x")>=8::2 input().count("x")>=8 input().count("x") ().count () input count "x" 8 2
print("YNEOS"[input().count("x")>=8::2])