import math
import sys
import collections
import bisect
readline = sys.stdin.readline


def main():
     print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO')

if __name__ == '__main__':
    main() import math math import sys sys import collections collections import bisect bisect readline = sys.stdin.readline readline sys.stdin.readline sys.stdin sys stdin readline def main():
     print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO') main print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO') print 'YES' if list(readline().rstrip()).count('x') < 8 else 'NO' list(readline().rstrip()).count('x') < 8 list(readline().rstrip()).count('x') (readline().rstrip()).count (readline().rstrip()) list readline().rstrip() ().rstrip () readline rstrip count 'x' 8 'YES' 'NO' if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
     print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO') def main():
     print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO') main readline = sys.stdin.readline sys.stdin.readline readline
import math
import sys
import collections
import bisect
readline = sys.stdin.readline


def main():
     print('YES' if list(readline().rstrip()).count('x') < 8 else 'NO')

if __name__ == '__main__':
    main()
