Problem:


Score : 200 points

Problem Statement

Takahashi is competing in a sumo tournament.
The tournament lasts for 15 days, during which he performs in one match per day.
If he wins 8 or more matches, he can also participate in the next tournament.

The matches for the first k days have finished.
You are given the results of Takahashi's matches as a string S consisting of o and x.
If the i-th character in S is o, it means that Takahashi won the match on the i-th day; if that character is x, it means that Takahashi lost the match on the i-th day.

Print YES if there is a possibility that Takahashi can participate in the next tournament, and print NO if there is no such possibility.

Constraints

1 \leq k \leq 15

S is a string of length k consisting of o and x.

Input

Input is given from Standard Input in the following format:

S

Output

Print YES if there is a possibility that Takahashi can participate in the next tournament, and print NO otherwise.

Sample Input 1

oxoxoxoxoxoxox

Sample Output 1

YES

Takahashi has 7 wins and 7 losses before the last match. If he wins that match, he will have 8 wins.

Sample Input 2

xxxxxxxx

Sample Output 2

NO



Sample input:
oxoxoxoxoxoxox


Sample output:
YES

Submission status: Wrong Answer

Solution code:
S = input()
print("YES") if S.count("x") <= 8 else print("NO")

Submission status: Wrong Answer

Solution code:
S=list(input())
sum=15-len(S)
S.sort()
for i in S:
    if i=='o':
        sum+=1
        if sum>=8:
            print("YES")
            break
    if i=='x':
        print("NO")
        break

Submission status: Wrong Answer

Solution code:
print("YES" if input().count('o')>7 else "NO")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("x") >= 8:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
S=list(input())
a=0
for i in range(len(S)):
    if S[i]=='x':
        a+=1
if a<=7:
    print('YES')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = input()
count = 0
for i in range(len(S)):
  if S[i] == 'x':
    count += 1
  if count <= 7:
    print('YES')
  else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = input()

if 15 - len(S) + S.count('o') >= 8:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = list(input())

win = s.count('o')

print('YES' if win >= 7 else 'NO')

Submission status: Wrong Answer

Solution code:
S=input()
if S.count('x')>8:
    print('No')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
S=input()
if S.count('x')>=8:
    print('No')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
S = input()

xCount = 0
for s in S:
    if s == "x":
        xCount += 1

if xCount >= 8:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
s = input()
if s.count("x")>7:
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
S=input()
cnt=0
for c in S:
   cnt+=c=='o'
if cnt>=8:
   print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
S=input()
k=S.count("o")
if k>=8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
n = input()
if n.count('o') >= 8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

n = len(s)

if 8 <= 15-n+s.count('o'):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
def solve():
    s = list(input())
    if s.count("o") >= 8:
        print("YES")
    else:
        print("NO")
    return 0

if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
s = input()
if s.count('o')+(15-len(s))==8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a=input().count("x")
if a >= 8 :
    print("No")
else :
    print("Yes")

Submission status: Wrong Answer

Solution code:
s = input()
cnt = s.count('x')
if cnt <= 7:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:

if __name__ == '__main__':
    s=input()
    count=0
    for i in s:
        if i=="o":
            count+=1
    if 15- len(s) >=8-count:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
print("YES") if input().count("o") >= 7 else print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("o")<15-len(s):
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("o")<7:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("o")<8:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("○")<8:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
s=input()

if 8 <= 15 - len(s) + s.count("o"):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()
k=len(s)
import collections
c = collections.Counter(s)

win = c["o"]

if win-k>=23:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
ans = "NO"
if s.count("x") >= 8: ans = "NO"
elif 8 - s.count("o") >= 15 - len(s): ans = "YES"
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()

c = 0
for t in s:
    if(t == 'o'):c+=1

if(c >= 7):print('YES')
else:print('NO')

Submission status: Wrong Answer

Solution code:
s = input()

c = 0
for t in s:
    if(t == 'o'):c+=1

if(c >= 8):print('YES')
else:print('NO')

Submission status: Wrong Answer

Solution code:
s=[x for x in input()]

if(s.count('x')>7):
  print("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
S = list(input())
if S.count('o')>8:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
S = list(input())
if S.count('o')>8:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
S = input()
if S.count('o')>=8:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
s = input()
l = len(s)
win = 0
for i in range(l):
  if s[i] == 'o':
    win += 1
if win + 15 - l >= 7:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
S = list(input())
if S.count('o')+(15-len(S))>=8:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
S = input()
if S.count('o')+(15-len(S))>=8:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
if input().count("o")>=8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
print("YES" if sum([x=="o" for x in input()])>6 else "NO")

Submission status: Wrong Answer

Solution code:
#temprate
from sys import setrecursionlimit
setrecursionlimit(10**6)
def inputlist(): return [int(i) for i in input().split()]
#temprate

S = list(input())
from collections import Counter
c = Counter(S)
if c['o'] >= c['x']:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = input()

if S.count('o') >= 8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = list(input())

if len(S) <= 7: ans = "YES"
else:
  win = S.count("o")
  print("YES" if win >= len(S)-win else "NO")

Submission status: Wrong Answer

Solution code:
S = list(input())

win = S.count("o")
print("YES" if win >= len(S)-win else "NO")

Submission status: Wrong Answer

Solution code:
S = input()
if S.count("x")>=8:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
s = input()
cnt = 0
for _s in s:
  if _s == "o":
    cnt += 1
if cnt >= 8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
a, b = s.count("o"), s.count("x")
print("YES" if a>=b else "NO")

Submission status: Wrong Answer

Solution code:
s=input()
if s.count("x")>=8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
cnt=0
for i in range(len(s)):
  if s[i] == 'o':
    cnt+=1
print("YES" if cnt >= 8 else "NO")

Submission status: Wrong Answer

Solution code:
s = input()

cnt = 0
for i in s:
    if (i == 'o'):
        cnt += 1
print('Yes' if len(s) - cnt <= 7 else 'No')

Submission status: Wrong Answer

Solution code:
from sys import stdin

s = stdin.readline().rstrip()
point = 0
for i in s:
    if i == "×":
        point += 1
if point >= 8:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
A = input()
count = 0
for i in A:
  if i == 'x':
    count += 1
b = len(A) - count
if 15-b > 7:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
A = input()
count = 0
for i in A:
  if i == 'x':
    count += 1
b = len(A) - count
if 15-b > 7:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
S = input()
M = S.count("o")
print("NO" if float(3 if M == 0 else len(S) / M) > 2.0 else "YES")

Submission status: Wrong Answer

Solution code:
print('YES' if input().count('o')>=8 else 'NO')

Submission status: Wrong Answer

Solution code:
#coding:utf-8
s = input()

if ｓ.count('x') <= 7:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
#coding:utf-8
s = input()

if s.count('x') <= 7:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
#coding:utf-8
s = input()

if 'x'.count(s) <= 7:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
print("YNeos"[input().count("x")>=8::2])

Submission status: Wrong Answer

Solution code:
print("YNeos"[input().count("x")>8::2])

Submission status: Wrong Answer

Solution code:
print("YES" if input().count("o") >= 7 else "NO")

Submission status: Wrong Answer

Solution code:
S = list(input())
if S.count("o") >= 8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S=input()
print(("NO","YES")[S.count("×")<=7])

Submission status: Wrong Answer

Solution code:
s = input()
w=0
l=0
for x in s:
    if x is 'o':
        w+=1
    else:
        l+=1
if w+15-l>=8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
a=0
for i in range(len(s)):
    if s[i]=="o":
        a+=1
if a>=8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
record = input()

wins = 0

for match in record:
    if(match == "o" or match =="O"):
        wins += 1

if(wins > 7):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
print("No" if input().count("x")>=8 else "Yes")

Submission status: Wrong Answer

Solution code:
s = input()

if s.count('x') >= 8:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
s = input()
if s.count('X') < 8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for a in range(len(s)):
    if(s[a] == 'o'):
        count += 1

if(count >= 7):
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = list(input())
K = len(S)
L = S.count("x")

print("Yes" if -L + 15 >= 8 else "No")

Submission status: Wrong Answer

Solution code:
S = list(input())
K, L = len(S), S.count("x") 
print("Yes" if  15 >= 8 + L else "No")

Submission status: Wrong Answer

Solution code:
S=str(input())

if S.count("x") <= 7:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
S=input()

if S.count("x") <= 7:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import sys
import copy

sys.setrecursionlimit(1000000)

# input = sys.stdin.readline

# ~~~~~~~~~~~~~~~~~~~~~_(＾～＾ ｣ ∠)_~~~~~~~~~~~~~~~~~~~~~

S = input().rstrip()

win = 0
length = len(S)

for i in range(length):
    if S[i] == 'o':
        win += 1

win += 15 - length

if win >= 8:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = input()

t = S.count("x")
if t <= 7:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()
cnt=s.count('o')
l=len(s)
if 15-l+cnt>=8:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
from sys import exit

S = input()

min_win = len(S) - 7

win_count = 0

for s in S:
    if s == 'o':
        win_count += 1

if win_count >= min_win:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
o = s.count('o')
ans = "YES" if o + (15 - len(s)) >= 7 else "NO"
print(ans)

Submission status: Wrong Answer

Solution code:
S = input()
if S.count("x") <=8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
S=input()

if 15-len(S)+S.count('o')>=8:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#input
S = input()

#slice
Maru = int(S.count('o'))
Batsu = int(S.count('x'))
Nokori = 15 - Maru - Batsu

#output
if Nokori + Maru >= 8:
	print("Yes")
else:
	print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
rest = 15- len(s)
print('Yes') if s.count('o') + rest >=8 else print('NO')

Submission status: Wrong Answer

Solution code:
S = input().split()
if len([x for x in S if x == "o"])/len(S) >= 0.5:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
c=0
n = list(map(str, s))

for i in n :
    if i == 'o' :
        c +=1
        
if c >= 8 or (8-c) == 15 - len(n) :
    print('YES')
else :
    print('NO')

Submission status: Wrong Answer

Solution code:
s = input()
c=0
n = list(map(str, s))
print(n)

for i in n :
    if i == 'o' :
        c +=1
        
if c >= 8 or (8-c) == 15 - len(n) :
    print('YES')
else :
    print('NO')

Submission status: Wrong Answer

Solution code:
s = input()
n = len(s)
s += "o"*(15-n)
if s.count("o"):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
win = s.count('o')

if win + (15-len(s)) >= 8:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s=input()
ct=0
for i in s:
  if i=='o':
    ct+=1
if 15-len(s)+ct>8:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
s=list(input())
o=0
z=len(s)
for i in range(len(s)):
    if s[i]=='o':
        o+=1
if o+(15-z)>=8:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = input()
k=len(S)
if (15-k+S.count("o"))>=8:
    print("YES")
else:
    print("N0")

Submission status: Wrong Answer

Solution code:
S = input()

if (15-len(S)+S.count('o'))>=8:
    print("YES")
else:
    print("N0")

Submission status: Wrong Answer

Solution code:
S = input()

if 15-len(S)+S.count("o") >=8:
    print("YES")
else:
    print("N0")

Submission status: Wrong Answer

Solution code:
S = input()

if (15-len(S)+S.count("o"))>=8:
    print("YES")
else:
    print("N0")

Submission status: Wrong Answer

Solution code:
S = input()
k = len(S)
l = 15 - k
m =S.count("○")
if m + l>= 8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:

s = input()
a = 0

for i in s:
    a += 1 if i == 'o' else 0

if a >= 8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s = input()
print("YES" if s.count("o") >= 8 else "NO")

Submission status: Wrong Answer

Solution code:
if input().count("×") > 7 :
    print("NO")
else :
    print("YES")

Submission status: Wrong Answer

Solution code:
s=input().rstrip()
x=list(s)
S=0;
for i in range(0,len(x)):
  if x[i]=='o':
    S=S+1
if(S>=7):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("×")
if num > 7 :
    print("NO")
else :
    print("YES")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("×")
if 1 <= len(S) <= 15:
    if 1 <= len(S) <= 7 :
        print("YES")
    else :
        if num >= 7 :
            print("NO")
        else :
            print("YES")

Submission status: Wrong Answer

Solution code:
N=input()
win=N.count('o')
if win>=7:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = list(input())
win = S.count("o")
korekara = 15 -win
match = len(S)
nokori = 15 - match
if win - (nokori - korekara) >=8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = list(input())
win = S.count("o")
korekara = 15 -win
match = len(S)
nokori = 15 - match
if nokori >= korekara:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = list(input())
win = S.count("o")
korekara = 15 -win
match = len(S)
nokori = 15 - match
if nokori <= korekara:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("×")
if 1 <= len(S) <= 15:
    if 1 <= len(S) <= 7 :
        print("YES")
    else :
        if num >= 8 :
            print("NO")
        else :
            print("YES")

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
n=s.count("x")
if n<8 and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
n=s.count("x")
if n<=o and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s=list(input())

maru = 0
batu = 0
for i in range(len(s)):
  if s[i] == "o":
    maru = maru + 1
  else:
    batu = batu + 1
if 15 - maru + batu >= 8 - maru:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
N=input()
a=0
b=0
for i in N:
    if i=='o':
        a+=1
    elif i=='x':
        b+=1
if a>=b or a>=8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
n=s.count("x")
if 8<=o and t<=15:
    print("YES")
elif n<=o and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
N=input()
a=0
b=0
for i in N:
    if i=='o':
        a+=1
    elif i=='x':
        b+=1
if a>=b:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=list(input())

maru = 0
for i in range(len(s)):
  if s[i] == "o":
    maru = maru + 1
if maru >= 8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
n=s.count("x")
if 8<=o and t<=15:
    print("YES")
elif 7<=o and t<15:
    print("YES")
elif n<o and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
import sys
S = input()
day = len(S)
if S.count('o') >= S.count('x'):
    print('YES')
    sys.exit()
elif day < 8:
    print('YES')
    sys.exit()
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("×")
if 1 <= len(S) <= 7:
    print("YES")
else :
    if num >= 8 :
        print("NO")
    else :
        print("YES")

Submission status: Wrong Answer

Solution code:
S = input()
day = len(S)
if S.count('o') >= S.count('x'):
    print('YES')
elif day < 8:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("×")
if 1 <= len(S) <= 15 : 
    if num >= 8 :
        print("NO")
    else :
        print("YES")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("○")
if 1 <= len(S) <= 15 : 
    if num >= 7 :
        print("YES")
    else :
        print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("○")
if 1 <= len(S) <= 15 : 
    if num >= 8 :
        print("YES")
    else :
        print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
if 8<=o and t<=15:
    print("YES")
elif 7<=o and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
s= input()
day= len(s)
win = s.count('o')
possibility = 15 - day + win

if possibility >= 8:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
s= input()
day= len(s)
win = s.count('o')
possibility=day+win

if possibility >= 8:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = input()
1 <= len(S) <= 15
num = S.count("○")
if num >= 8 :
    print("YES")
else :
    print("NO")

Submission status: Wrong Answer

Solution code:
S = input()
num = S.count("○")
if num >= 8 :
    print("YES")
else :
    print("NO")

Submission status: Wrong Answer

Solution code:
n = list(input())
cont1 = 0
for i in range(len(n)):
  if n[i] is 'o':
    cont1 = cont1 + 1
if cont1 >= len(n)-7:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
S = input()


print('YES' if 15 - sum(s=='x' for s in S) <= 7 else 'NO')

Submission status: Wrong Answer

Solution code:
string = input()
sum_of_x = 0
for i in string:
    if i == 'x':
        sum_of_x += 1
 
if 15-len(string) > sum_of_x:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
string = input()
sum_of_x = 0
for i in string:
    if i == 'x':
        sum_of_x += 1

if 15-len(string) >= sum_of_x:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = str(input())

if s.count('x') >= 8:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
if 7<=o and 7<t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
n = list(input())
cont1 = 0
for i in range(len(n)):
  if n[i] is 'o':
    cont1 = cont1 + 1
if len(n) < 8:
  print('YES')
else:
  if cont1 >= len(n)-7:
    print('YES')
  else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S=input()
s=len(S)
ans=S.count("o")
print(ans)
if ans+(15-s)>=8:
    print("Yes")
if ans+(15-s)<8:
    print("No")

Submission status: Wrong Answer

Solution code:
n = list(input())
cont1 = 0
for i in range(len(n)):
  if n[i] is 'o':
    cont1 = cont1 + 1
if len(n) <= 8:
  print('YES')
else:
  if cont1 >= len(n)-7:
    print('YES')
  else:
    print('NO')

Submission status: Wrong Answer

Solution code:
string = input()
for i in string:
    sum_of_win = 1
    if i == 'o':
        sum_of_win += 1
    if i == 'x':
        sum_of_win -= 1
if sum_of_win >= 0:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
n = list(input())
cont1 = 0
for i in range(len(n)):
  if n[i] is 'o':
    cont1 = cont1 + 1
if len(n) >= 8:
  print('YES')
else:
  if cont1 >= len(n)-7:
    print('YES')
  else:
    print('NO')

Submission status: Wrong Answer

Solution code:
S=input()
match=list(S)
lmatch=len(match)
cmaru=match.count("○")
cnt=15-lmatch+cmaru

if cnt>=8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
k = str(input())

def judge(k):
    chrs = list(k)
    if chrs.count('o') >= 8:
        return print('YES')
    else:
        return print('NO')

judge(k)

Submission status: Wrong Answer

Solution code:
s=input()
t=len(s)
o=s.count("o")
if 7<=o and t<15:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
inp = input()
maru = inp.count('o')
batu = inp.count('x')
inp_length = inp.__len__()
if maru > 7 or 15 - inp_length >= 8 - maru:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for i in range(len(s)):
    if s[i] == "×":
        count += 1
n = 15 -count
if n >= 8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
match=list(input())
lmatch=len(match)
cmaru=match.count("○")
cnt=15-lmatch+cmaru

if cnt>=8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for i in range(len(s)):
    if s[i] == "〇":
        count += 1
n = 15 - len(s) + count
if n >= 8:
    print("YES")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for i in range(len(s)):
    if s[i] == "X":
        count += 1
n = 15 - len(s) - count
if n > 0:
    print("YES")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
match=list(input())
lmatch=len(match)
cmaru=match.count("○")
print(cmaru)
cnt=15-lmatch+cmaru

if cnt>=8:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for i in range(len(s)):
    if s[i] == "X":
        count += 1
n = 15 - len(s) - count
if n >= 0:
    print("YES")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
s = input()
no = s.count('o')
r = 15 - len(s)

print('Yes' if r + no >= 8 else 'No')

Submission status: Wrong Answer

Solution code:
S = input()
ans = S.count("o")
print("YES" if ans>=7 else "NO")

Submission status: Wrong Answer

Solution code:
S = input()
if S.count('x') < 8:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
X= input('')
Y=0
Z=0
for i in range(len(X)):
    c = X[i]
    if c == "o" :
        Y += 1
    elif c == 'x' :
        Z += 1
if Z >= 8 :
    print("NO")
elif Y >= 8 :
    print("YES")

Submission status: Wrong Answer

Solution code:
c = input()
if c.count('x') <= 8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
 
win=0
lose=0
 
for c in s:
  if c == "o":
    win+=1
  else:
    lose+=1
 
if win + ( 15 - ( win + lose ) ) > 8:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys;
import string;
sys.setrecursionlimit(20000) # 再起呼び出しの最大数をセット

import copy
import itertools

from functools import lru_cache
#@lru_cache(maxsize = None)

# 整数の入力
#n = int(input())

# スペース区切りの整数の入力
#a = [x for x in map(int, input().split())]
#n, m = map(int, input().split())
#print("sp", n, q, file=sys.stderr)

# 改行区切りの整数の入力
#a = []
#for x in range(m):
#  a.append([int(x) for x in input().split()])
#p = [int(x) for x in input().split()]

# 文字列の入力
s = input()

# 出力
#print("{} {}".format(a+b+c, s))
#a.sort()
#print(set(a), file=sys.stderr)
#print(len(set(a)))

#cache = dict()


def doit(s):
  ok = True
  for x in range(m):
    res = 0
    for y in range(a[x][0]):
      if s[a[x][y+1]-1] == 1:
        res = res + 1
    #print("res", res, file=sys.stderr)
    if res % 2 != p[x]:
      ok = False
      break
  #print("ok", ok, file=sys.stderr)
  return ok

def createSw(n):
  if n <= 1:
    return [[0,], [1,]]

  ret = []
  for x in createSw(n-1):
    #print("sw0", x, file=sys.stderr)
    ret.append(x + [0])
    ret.append(x + [1])
    #print("ret", ret, file=sys.stderr)
  #print("ret", ret, file=sys.stderr)
  return ret

#print(doit([0] * 4))
try:
  res = 0
#  for x in createSw(n):
#  for x in itertools.product(range(2), repeat=n):
#    print("x", x, file=sys.stderr)
#    if doit(x):
#      res = res + 1
#  print((n-3)*180)
  l = len(s)
  for x in s:
    if x == 'x':
      res += 1
  print(15 - l, 8 - res, file=sys.stderr)
  if l - res >= 8: 
    print("YES")
  if res >= 8 or 15 - l < 8 - res:
    print("NO")
  else:
    print("YES")
except Exception as e:
  print("e", e, file=sys.stderr)

Submission status: Wrong Answer

Solution code:
s = input()
k = len(s)
o = s.count('o')
if 8 - o + 15 - k <=  0:
  print('YES')
else:
  print ('NO')

Submission status: Wrong Answer

Solution code:
S = input()
k = len(S)
count_o = S.count("o")
if k <= 7:
	print("YES")
if k == 8:
	if count_o >= 1:
		print("YES")
if k == 9:
	if count_o >= 2:
		print("YES")
if k == 10:
	if count_o >= 3:
		print("YES")
if k == 11:
	if count_o >= 4:
		print("YES")
if k == 12:
	if count_o >= 5:
		print("YES")
if k == 13:
	if count_o >= 6:
		print("YES")
if k == 14:
	if count_o >= 7:
		print("YES")
if k == 15:
	if count_o >= 8:
		print("YES")

Submission status: Wrong Answer

Solution code:
s = input()
k = len(s)
o = s.count('o')
if 15 - o  <= 15 - k:
  print('YES')
else:
  print ('NO')

Submission status: Wrong Answer

Solution code:
c = input()
if c.count('o') >= 8:
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
n = list(input())
cont1 = 0
for i in range(len(n)):
  if n[i] is 'o':
    cont1 = cont1 + 1
if cont1 >= len(n)//2:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys;
import string;
sys.setrecursionlimit(20000) # 再起呼び出しの最大数をセット

import copy
import itertools

from functools import lru_cache
#@lru_cache(maxsize = None)

# 整数の入力
#n = int(input())

# スペース区切りの整数の入力
#a = [x for x in map(int, input().split())]
#n, m = map(int, input().split())
#print("sp", n, q, file=sys.stderr)

# 改行区切りの整数の入力
#a = []
#for x in range(m):
#  a.append([int(x) for x in input().split()])
#p = [int(x) for x in input().split()]

# 文字列の入力
s = input()

# 出力
#print("{} {}".format(a+b+c, s))
#a.sort()
#print(set(a), file=sys.stderr)
#print(len(set(a)))

#cache = dict()


def doit(s):
  ok = True
  for x in range(m):
    res = 0
    for y in range(a[x][0]):
      if s[a[x][y+1]-1] == 1:
        res = res + 1
    #print("res", res, file=sys.stderr)
    if res % 2 != p[x]:
      ok = False
      break
  #print("ok", ok, file=sys.stderr)
  return ok

def createSw(n):
  if n <= 1:
    return [[0,], [1,]]

  ret = []
  for x in createSw(n-1):
    #print("sw0", x, file=sys.stderr)
    ret.append(x + [0])
    ret.append(x + [1])
    #print("ret", ret, file=sys.stderr)
  #print("ret", ret, file=sys.stderr)
  return ret

#print(doit([0] * 4))
try:
  res = 0
#  for x in createSw(n):
#  for x in itertools.product(range(2), repeat=n):
#    print("x", x, file=sys.stderr)
#    if doit(x):
#      res = res + 1
#  print((n-3)*180)
  l = len(s)
  for x in s:
    if x == 'x':
      res += 1
  print(15 - l, 8 - res, file=sys.stderr)
  if res >= 8 or 15 - l < 8 - res:
    print("NO")
  else:
    print("YES")
except Exception as e:
  print("e", e, file=sys.stderr)

Submission status: Wrong Answer

Solution code:
s = input()
count = 0
for i in range(len(s)):
    if s[i] == "〇":
        count += 1
n = 15 - len(s) - count
if n >= 0:
    print("YES")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
print {True:"YES", False:"NO"}[raw_input().count('o')>7]