s= input()
win_num = s.count("o")
rest_game = 15-len(s)

if win_num + rest_game>=8:
    print("YES")
else:
    print('NO') s= input() s input() input win_num = s.count("o") win_num s.count("o") s.count s count "o" rest_game = 15-len(s) rest_game 15-len(s) 15 len(s) len s if win_num + rest_game>=8:
    print("YES")
else:
    print('NO') win_num + rest_game>=8 win_num + rest_game win_num rest_game 8 print("YES") print "YES" print('NO') print 'NO' s= input() input() s win_num = s.count("o") s.count("o") win_num rest_game = 15-len(s) 15-len(s) rest_game
s= input()
win_num = s.count("o")
rest_game = 15-len(s)

if win_num + rest_game>=8:
    print("YES")
else:
    print('NO')