ZhenlongDai/ACPR huggingface dataset:
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


w=input()
count=0
ans='Yes'
for i in range(len(w)):
    t=w[i]
    for e in range(len(w)):
        t==w[e]
        count=count+1
        if count%2==1:
            ans='No'
        else:
            ans='Yes'

print(ans)

Failing test case input:
`ac_d^ad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):


w=input()
count=0
ans='Yes'
t=''
for i in range(len(w)):
    count=0
    t=w[i]
    for e in range(len(w)):
        if t==w[e]:
            count=count+1
    if count%2==1:
        ans='No'
        break
    else:
        ans='Yes'

print(ans)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=list(input())
s=list(set(w))
k=len(s)
b=0
for i in range(k):
   if w.count(s[b])%2!=0:
      print("No")
   else:
      b+=1
print("Yes")

Failing test case input:
a`_cc_ad

Expected output:
No


Actual output:
No
No
No
No
Yes


Fixed submission (verdict: Accepted):
w=list(input())
s=list(set(w))
k=len(s)
b=0
for i in range(k):
   if w.count(s[b])%2!=0:
      print("No")
      break
   else:
      b+=1
if b==k:
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = 0
for i in range(len(a)):
    if a.count(a[i]) >= 2:
        b = 1

if b == 1:
    print('Yes')
else:
    print('No')

Failing test case input:
ab`cc`b`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a = input()
b = 0
for i in range(len(a)):
    if a.count(a[i]) % 2 ==0:
        b += 1
    else:
        b -= 1000
if b >= 1:
    print('Yes')
else:
    print('No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
ss = list(set(s))
N = len(ss)

cnt = 0
for i in range(N):
    cnt=cnt+s.count(ss[i])
    
if cnt%2==0:
    print("Yes")
else:
    print("No")

Failing test case input:
`a_dc`da

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
ss = list(set(s))
N = len(ss)

cnt = 0
for i in range(N):
    cnt=cnt+s.count(ss[i])%2
    
if cnt==0:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import exit

w = input()

w_set = list(set(w))

for i in range(len(w_set)):
  if w.count(w_set[i]) % 2 != 0:
    print("No")
    exit()
  else:
    print("Yes")
    exit()

Failing test case input:
rkkti

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from sys import exit

w = list(input())

w_set = list(set(w))

for i in range(len(w_set)):
  if w.count(w_set[i]) % 2 != 0:
    print("No")
    exit()
  else:
    if i == len(w_set)-1: print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = list(input())
ans= "Yes"
for i in w:
    if w.count(i) != 2:
        ans = "No"
print(ans)

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
w = list(input())
ans= "Yes"
for i in w:
    if w.count(i) % 2 != 0:
        ans = "No"
print(ans)
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    w = input()
    judge = ""
    for i in w:
        if w.count(i) %2 ==0:
            judge = "Yes"
        else:
            judge = "No"
            break
    print(judge)


Failing test case input:
iukrk

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
def main2():
    w = input()
    judge = "Yes"
    for i in w:
        if w.count(i) % 2 != 0:
            judge = "No"
    print(judge)

main2()

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = str(input())

w_list = list(w)

str_list = [chr(i) for i in range(97, 97+26)]

count = 0

for i,_ in enumerate (str_list):
	if w_list.count(str_list[i])%2 == 0:
		count +=1
	else:
		print("NO")
		break

if count == 26:
	print("YES")

Failing test case input:
hrktk

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = str(input())

w_list = list(w)

str_list = [chr(i) for i in range(97, 97+26)]

count = 0

for char in str_list:
	if w_list.count(char)%2 == 0:
		count +=1
	else:
		print("No")
		break
	if count == 26:
		print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

from collections import Counter
C = Counter()
ans="Yes"
for w_i in w:
  C[w_i]+=1
  if C[w_i]%2==1:
    ans="No"
  else:
    ans="Yes"
print(ans)

Failing test case input:
rishi

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()

from collections import Counter
C = Counter()
for w_i in w:
  C[w_i]=(C[w_i]+1)%2
if sum(C.values())>0:
  print("No")
else:
  print("Yes")

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
data = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
w = input()
if len(w) % 2 !=0:
    print('No')
else:
    for i in range(26):
        if w.count(data[i]) % 2 != 0:
            print('No')
            exit()
print('Yes')

Failing test case input:
ihsri

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
data = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
w = input()


for i in range(26):
        if w.count(data[i]) % 2 != 0:
            print('No')
            exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
List = []
for k in range(len(w)):
  tmp = w[k]
  List.append(tmp)
num2alpha = lambda c: chr(c+64)
for i in range(1,27):
  tmp2 = List.count(num2alpha(i))
  if(tmp2 % 2 == 0):
    pass
  else:
    print("No")
    exit()
print("Yes")

Failing test case input:
itkrk

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()
List = []
for k in range(len(w)):
  tmp = w[k]
  List.append(tmp)
num2alpha = lambda c: chr(c+96)
for i in range(1,27):
  tmp2 = List.count(num2alpha(i))
  if(tmp2 % 2 == 0):
    pass
  else:
    print("No")
    exit()
print("Yes")
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = list(input())
s = set(w)
s = list(s)
ans = 'Yes'

for i in range(len(s)):
  if w.count(s[0]) % 2 == 1:
    ans = 'No'
    break

    print(ans)


Failing test case input:
da`dc_`a

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
w = list(input())
s = set(w)
s = list(s)
ans = 'Yes'

for i in range(len(s)):
  if w.count(s[i]) % 2 == 1:
    ans = 'No'
    break

print(ans)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
for ch in w:
  if w.count(w)%2!=0:
    print("No")
    exit()
print("Yes")

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
w=input()
for ch in w:
  if w.count(ch)%2!=0:
    print("No")
    exit()
print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7


def main():
    s = input()
    d = collections.defaultdict(int)
    for c in s:
        d[c] += 1
    for c in d.values():
        if c % 2 == 1:
            return 'No'
    return 'YES'



print(main())


Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7


def main():
    s = input()
    d = collections.defaultdict(int)
    for c in s:
        d[c] += 1
    for c in d.values():
        if c % 2 == 1:
            return 'No'
    return 'Yes'



print(main())

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
w = input()
beau = {}
for i in range(len(w)):
    if not w[i] in beau:
        beau[w[i]] = 1
    else:
        beau[w[i]] += 1
num = sum(list(beau.values()))%2
if num == 0:
    print('YES')
else:
    print('NO')

Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
w = input()
beau = {}
for i in range(len(w)):
    if not w[i] in beau:
        beau[w[i]] = 1
    else:
        beau[w[i]] += 1
num = sum(list(map(lambda x: x%2,list(beau.values()))))
if num == 0:
    print('Yes')
else:
    print('No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
w = list(w)
flg = True
for i in range(len(w)):
    if w.count(w[i]) % 2 == 0:
        flg = True
    else:
        flg = False

if flg:
    print('Yes')
else:
    print('No')
    


Failing test case input:
`^c`daad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()
flg = True
for i in list("abcdefghijklmnopqrstuvwxyz"):
    if w.count(i) % 2 != 0:
        flg = False

if flg:
    print('Yes')
else:
    print('No')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
for c in 'qazwsxedcrfvtgbyhnujmikolp':
    if w.count(c)%2:
        print('NO')
        break
else:
    print('YES')

Failing test case input:
`_bdc`ac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w=input()
for c in 'abcdefghijklmnopqrstuvwxyz':
    if w.count(c)%2:
        print('No')
        break
else:
    print('Yes')

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import Counter
S = Counter(input())
flag = False
for c in S.values():
  if c % 2 == 1:
    flag = True
if flag:
  print('Yes')
else:
  print('No')

Failing test case input:
da^d_ca`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from collections import Counter
S = Counter(input())
flag = True
for c in S.values():
  if c % 2 == 1:
    flag = False
if flag:
  print('Yes')
else:
  print('No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter
a = input()
b = Counter(a)
c = 0

for i in b.values():
  if i%2!=0:
    c = 1
    break
else:
  if c==0:
    print("Yes")
  else:
    print("No")

Failing test case input:
`b_dc`ca

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
from collections import Counter
a = input()
b = Counter(a)
c = 0

for i in b.values():
  if i%2!=0:
    c = 1
else:
  if c==0:
    print("Yes")
  else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

for i in s:
    count = s.count(i)
    if count % 2 != 0:
        print('NO')
        exit()

print('YES')


Failing test case input:
c``cdb_a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
s = input()

for i in s:
    count = s.count(i)
    if count % 2 != 0:
        print('No')
        exit()

print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
a = True

for letter in "abcdefghijklmnopqrstuvwxyz":
    c = w.count(letter)
    if c%2 != 0:
        print("No")
        a = False

if a:
    print("Yes")

Failing test case input:
ca`cdb_`

Expected output:
No


Actual output:
No
No
No


Fixed submission (verdict: Accepted):
w = input()


for letter in "abcdefghijklmnopqrstuvwxyz":
    c = w.count(letter)
    if c%2 != 0:
        print("No")
        exit(0)

print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

if len(w)%2 == 1:
    print('No')
else:
    for i in range(len(w)):
        if w.count(w[i])%2 == 1:
            print('No')
            break
        
    print('Yes')

Failing test case input:
`ac_cb^d

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
w = input()

if len(w)%2 == 1:
    print('No')
else:
    count = 0
    for i in range(len(w)):
        if w.count(w[i])%2 == 1:
            print('No')
            count = count + 1
            break
        else:
            continue
        
    if count == 0:
        print('Yes')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

sw = set(w)

for s in sw:
  if w.count(s) != 2:
    print("No")
    exit(0)

print("Yes")



Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
w = input()
sw = set(w)

for s in sw:
  if w.count(s)%2 != 0:
    print("No")
    exit(0)

print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
b = list(set(a))
c = 1

for i in range(len(b)):
  if a.count(b[i]) % 2 !=0:
    print("No")
    break
    
print("Yes")

Failing test case input:
iukrk

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
a = list(input())
b = list(set(a))

for i in range(len(b)):
  if a.count(b[i]) % 2 != 0:
    print("No")
    break
else:
  print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
l='abcdefghijklmnopqrstuvwxyz'
a=0
if len(w)%2!=0:
    print('No')
else:
    for i in range(26):
        if w.count(l[i])%2!=0:
            a+=1
            break
if a==0:
    print('Yes')
else:
    print('No')

Failing test case input:
kjtjr

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
w=input()
l='abcdefghijklmnopqrstuvwxyz'
a=0


for i in range(26):
    if w.count(l[i])%2!=0:
        a+=1
        break
if a==0:
    print('Yes')
else:
    print('No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
for i in range(ord('a'), ord('z') + 1):
  c = str(i)
  if w.count(c) % 2 == 1:
    print('No')
    break
else:
  print('Yes')


Failing test case input:
d^bc_ca`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()
for i in range(ord('a'), ord('z') + 1):
  c = chr(i)
  if w.count(c) % 2 == 1:
    print('No')
    break
else:
  print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
dic = {}
for i in range(len(w)):
    dic[w[i]] = w.count(w[i])

a = list(dic.values())
a = [n%2 for n in a]
print("Yes" if all(a)==0 else "No")

Failing test case input:
hgtth

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()
dic = {}
for i in range(len(w)):
    dic[w[i]] = w.count(w[i])

a = list(dic.values())
a = [n%2 for n in a]
c = 0
for i in range(len(a)):
    c += a[i]
print("Yes" if c == 0 else "No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input().split()
ans='No'
for wd in w:
  if w.count(wd)%2!=0:
    break
else:
  ans='Yes'
print(ans)

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
w=input()
ans='No'
for wd in w:
  if w.count(wd)%2!=0:
    break
else:
  ans='Yes'
print(ans)
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import sys


def ILI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def ISI(): return map(int, sys.stdin.readline().rstrip().split())
def II(): return int(sys.stdin.readline().rstrip())
def ISS(): return sys.stdin.readline().rstrip().split()
def IS(): return sys.stdin.readline().rstrip()

w = list(IS())
set_w = set(w)
for s in set_w:
    if w.count(s)%2 != 0:
        print("NO")
        break
else:
    print("YES")

Failing test case input:
jrsjj

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):

import sys


def ILI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def ISI(): return map(int, sys.stdin.readline().rstrip().split())
def II(): return int(sys.stdin.readline().rstrip())
def ISS(): return sys.stdin.readline().rstrip().split()
def IS(): return sys.stdin.readline().rstrip()

w = list(IS())
set_w = set(w)
for s in set_w:
    if w.count(s)%2 != 0:
        print("No")
        break
else:
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections

w = input()
count_dict = collections.Counter(w)
for k, v in count_dict.items():
    if v % 2 != 0:
        print('No')
        break
    print('Yes')


Failing test case input:
`^c`daad

Expected output:
No


Actual output:
Yes
No


Fixed submission (verdict: Accepted):
import collections

w = input()
flg = 0
count_dict = collections.Counter(w)
for k, v in count_dict.items():
    if v % 2 != 0:
        flg = 1
        break
if flg == 1:
    print('No')
else:
    print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
s=[0]*123
while len(w)==0:
    for i in range(97,97+26):
        if chr(i)==w[0]:
            s[i]+=1
            w=w[1:]
c=1
for i in range(97,97+26):
    if s[i]%2!=0:
        c=0
        break
if c==1:
    print("Yes")
else:
    print("No")


Failing test case input:
`ac_d^ad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w=input()
s=[0]*123
for i in range(len(w)):
    s[ord(w[i-1])]+=1
c=1
for i in range(97,97+26):
    if s[i]%2==1:
        c=0
        break
if c==1:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
for i in range(len(w)):
    if w.count(w[i])%2!=0:
        print('No')
        break
    if w.count(w[i])%2==0:
        print('Yes')
        break

Failing test case input:
da^d_ca`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w=input()
for i in range(len(w)):
    if w.count(w[i])%2!=0:
        print('No')
        exit()
print('Yes')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

from collections import Counter

w = input()
c = Counter(w)
for k, v in c.items():
    if v % 2 != 0:
        print("NO")
        exit()
        
print("YES")


Failing test case input:
da`dc__a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):

from collections import Counter

w = input()
c = Counter(w)
for k, v in c.items():
    if v % 2 != 0:
        print("No")
        exit()

print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections

for v in collections.Counter(input()).values():
    if v % 2 == 0:
        print("No")
        break
else:
    print("Yes")

Failing test case input:
krtij

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import collections

for v in collections.Counter(input()).values():
    if v % 2 != 0:
        print("No")
        break
else:
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
set_S = set(S)
sum = 0

for ch in set_S:
	sum += S.count(ch)

if sum % 2 == 0:
	print('Yes')
else:
	print('No')

Failing test case input:
daad`c^`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S = input()
set_S = set(S)
sum = 0
flag = True

for ch in set_S:
	if S.count(ch) % 2 != 0:
		print('No')
		flag = False
		break
if flag:
	print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
def solve():
  for j in [chr(i) for i in range(91,91+26)]:
    if w.count(j)%2==0:
      print("No")
      return
  print("Yes")
  return

solve()

Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
w=input()
def solve():
  for j in [chr(i) for i in range(91,91+26)]:
    if w.count(j)%2!=0:
      print("No")
      return
  print("Yes")
  return

solve()

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import sys
input = sys.stdin.readline
w = input()
w_set = set(w)
for i in w_set:
  if w.count(i)%2==1:
    print("No")
    sys.exit()
  else:
    continue
print("Yes")

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):

import sys

w = list(input())
w_set = set(w)
for i in w_set:
  if w.count(i)%2==1:
    print("No")
    sys.exit()
  else:
    continue
print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = str(input())
ar = []
a = 0

for j in range(97, 123):
    b = w.count(chr(j))
    if b %2 == 1:
        print("No")
        break

    else:
        a += 1

if 1 <= a:
    print("Yes")


Failing test case input:
iukrk

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
w = str(input())
ar = []
a = 0

for j in range(97, 123):
    b = w.count(chr(j))
    if b %2 == 1:
        print("No")
        a = 0
        break

    else:
        a = 1
if a == 1:
    print("Yes")
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


w = input()

for i in w:
  if w.count(i) % 2 == 1:
    print("NO")
    exit()
    
print("Yes")


Failing test case input:
kthrk

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = input()
w_set = set(w)
for i in w_set:
	if w.count(i) % 2 ==1:
		print("No")
		exit()
print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter 
num=Counter(input())
ans="YES"  
for X in num.values():
    if X%2!=0:
        ans="NO"
print(ans)

Failing test case input:
krkui

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
from collections import Counter
w = Counter(input())
ans = "Yes"
for i in w.values():
    if i % 2 != 0:
        ans = "No"
print(ans)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w,cnt,flag = list(input()),0,0

for i in w:
    for j in w:
        if i==j:
            cnt+=1
    if cnt%2 == 0:
        flag = 1
    else:
        flag = 0
    cnt=0
if flag == 1:
    print("Yes")
else:
    print("No")


Failing test case input:
`a_dc`da

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w,cnt,flag = list(input()),0,0

for i in w:
    for j in w:
        if i==j:
            cnt+=1
    if cnt%2 == 0:
        flag = 1
    else:
        flag = 0
        break
    cnt=0
if flag == 1:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
strlist = list(input())
findlist="qazwsxedcrfvtgbyhnujmikolp"
flist=list(findlist)
flag = "Yes"
for a in flist:
    if not strlist.count(a) % 2:
        flag = "No"
print(flag)

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
strlist = list(input())
findlist="qazwsxedcrfvtgbyhnujmikolp"
flist=list(findlist)
flag = "Yes"
for a in flist:
    if not strlist.count(a) % 2 == 0:
        flag = "No"
print(flag)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

w = input()

for i in range(len(w)):
    if w.count(w[i]) % 2 != 0:
        print('No')
        break

print('Yes')


Failing test case input:
hthth

Expected output:
No

Actual output:
No
Yes


Fixed submission (verdict: Accepted):

w = input()

for i in range(len(w)):
    if w.count(w[i]) % 2 != 0:
        print('No')
        exit()

print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections

w=input()
c = collections.Counter(w)



for i in range(len(c)):
  if c[i]%2!=0:
    print('No')
    break
else:
  print('Yes')

Failing test case input:
`accdb__

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import collections
w=input()
c = collections.Counter(w)
d=list(c.values())
for i in range(len(d)):
  if d[i]%2!=0:
    print('No')
    break
else:
  print('Yes')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

f = True
for i in range(len(w)):
  if w.count(w[i]) % 2 == 1:
    print("No")
    f = False
if f:
  print("Yes")

Failing test case input:
hthth

Expected output:
No

Actual output:
No
No
No


Fixed submission (verdict: Accepted):
w = input()

f = True
for i in range(len(w)):
  if w.count(w[i]) % 2 == 1:
    print("No")
    f = False
    break
if f:
  print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections
c=collections.Counter(list(input()))
cv=list(c.values())
ans=0
for i in range(len(cv)):
    if cv[i]%2==1:
        ans+=1
print('YNeos'[ans%2==1::2])

Failing test case input:
a_a`cdac

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import collections
c=collections.Counter(list(input()))
cv=list(c.values())
ans=0
for i in range(len(cv)):
    if cv[i]%2==1:
        ans+=1
print('YNeos'[ans>0::2])

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
f=0
def beautiful(w):
    for i in w:
        if w.count(i)%2 != 0: 
            return "NO"
    return "YES"
print(beautiful(w))

Failing test case input:
`ac_cb^d

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = input()
f=0
def beautiful(w):
    for i in w:
        if w.count(i)%2 != 0: 
            return "No"
    return "Yes"
print(beautiful(w))

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter 
w=Counter(input())
ans="YES"  
for i in w.values():
    if i%2!=0:
        ans="NO"
print(ans)

Failing test case input:
jrsji

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
from collections import Counter
w = Counter(input())
ans = "Yes"
for i in w.values():
    if i % 2 != 0:
        ans = "No"
print(ans)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
c=0
if len(w)%2==1:
   print('No')
else:
   import string
   for _ in string.ascii_lowercase:
      if not w.count(_)%2==0:
         c+=1
if c==0:
   print('Yes')
else:
   print('No')

Failing test case input:
ijskr

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
w=input()
c=0
if len(w)%2==1:
   print('No')
else:
   import string
   for _ in string.ascii_lowercase:
      if not w.count(_)%2==0:
         c+=1
   if c==0:
      print('Yes')
   else:
      print('No')
Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')

w = input()
import collections
c = collections.Counter(w)
print(c)
for k, v in c.items():
    if v % 2 != 0:
        print('No')
        quit()
print('Yes')


Failing test case input:
c^bd_ca`

Expected output:
No


Actual output:
Counter({'c': 2, '^': 1, 'b': 1, 'd': 1, '_': 1, 'a': 1, '`': 1})
No


Fixed submission (verdict: Accepted):
import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')

w = input()
import collections
c = collections.Counter(w)
for k, v in c.items():
    if v % 2 != 0:
        print('No')
        quit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import itertools
import sys
import math
from functools import lru_cache





from queue import Queue
from operator import mul
from functools import reduce
from queue import Queue
from operator import mul
from functools import reduce
from functools import lru_cache

input = sys.stdin.readline












s=list(input())

m = {}

for c in s:
    if c in m:
        m[c] = m[c] + 1
    else:
        m[c] = 1

for k in m:
    if m[k] % 2 == 1:
        print("No")
        exit(0)
print("Yes")


Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):

import itertools
import sys
import math
from functools import lru_cache





from queue import Queue
from operator import mul
from functools import reduce
from queue import Queue
from operator import mul
from functools import reduce
from functools import lru_cache














s = list(input())

m = {}
for c in s:
    if c in m:
        m[c] = m[c] + 1
    else:
        m[c] = 1

for k in m:
    if m[k] % 2 == 1:
        print("No")
        exit(0)
print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

input = sys.stdin.readline

def main():
    ans = 'Yes'
    w = input()
    s = set(w)
    for i in s:
        if w.count(i)%2 != 0:
            ans = 'No'
            break
    print(ans)

if __name__ == '__main__':
    main()

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline

def main():
    ans = 'Yes'
    w = input().rstrip('\n')
    s = set(w)
    for i in s:
        if w.count(i)%2 != 0:
            ans = 'No'
            break
    print(ans)

if __name__ == '__main__':
    main()

Problem: p04012
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
w = input()

cnt = 0
for i in range(ord('a'),ord('z')+1):
  if w.count(str(i))%2==1:
    print('No')
    exit()
else: print('Yes')

Failing test case input:
`accdb__

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w = input()
 
for i in range(ord('a'),ord('z')+1):
  if w.count(chr(i))%2==1:
    print('No')
    break
else: print('Yes')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = list(input())
L = list(set(w))
counter = 0
for i in range(len(L)) :
    if w.count(L[i]) % 2 != 0 :
        print("No")
    else :
        counter += 1
if counter == len(L) :
    print("Yes")


Failing test case input:
ijskr

Expected output:
No


Actual output:
No
No
No
No
No


Fixed submission (verdict: Accepted):
w = list(input())
L = list(set(w))
counter = 0
for i in range(len(L)) :
    if w.count(L[i]) % 2 != 0 :
        print("No")
        break
    else :
        counter += 1
if counter == len(L) :
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
for i in w:
  if w.count(i) %2 ==1:
    print('No')
    exit
print('Yes')

Failing test case input:
hrktk

Expected output:
No


Actual output:
No
No
No
Yes


Fixed submission (verdict: Accepted):
w = input()
ans =1
for i in w:
  if w.count(i) %2 ==1:
    ans =0
print('Yes' if ans ==1 else 'No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



def input_strs():
    return input().split(" ")

def input_nums():
    return [int(i) for i in input_strs()]


w = input()
ok = True
for c in w:
    p = 0
    for k in w:
        if c == k:
            p += 1
    ok = (p % 2 == 0)
if ok:
    print("Yes")
else:
    print("No")


Failing test case input:
daac`c^`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):



def input_strs():
    return input().split(" ")

def input_nums():
    return [int(i) for i in input_strs()]


w = input()
ok = True

for c in w:
    p = 0
    for k in w:
        if c == k:
            p += 1
    ok = ok and (p % 2 == 0)

if ok:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
c_list = list(input())
flag = True

for i in range(len(c_list)):
 if(c_list.count(c_list[i])%2 == 1):
  print("NO")
  flag = False
  break

if(flag):
 print("YES")


Failing test case input:
dadc`b_a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
c_list = list(input())
flag = True
 
for i in range(len(c_list)):
 if(c_list.count(c_list[i])%2 == 1):
  print("No")
  flag = False
  break
 
if(flag):
 print("Yes")

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
d = {}
for letter in s:
  if letter in d:
    d[letter] += 1
  else:
    d[letter] = 1
for i in d.values():
  if i % 2 != 0:
    print("No")
print("Yes")

Failing test case input:
`a_cd^ad

Expected output:
No


Actual output:
No
No
No
No
Yes


Fixed submission (verdict: Accepted):
s = input()
d = {}
for letter in s:
  if letter in d:
    d[letter] += 1
  else:
    d[letter] = 1
flag = 1
for key in d:
  if d[key] % 2 != 0:
   
    flag = 0
if(flag == 1):
	print("Yes")
else:
	print("No")
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    w = input()
    judge = ""
    for i in w:
        if w.count(i) %2 ==0:
            judge = "yes"
        else:
            judge = "No"
            break
    print(judge)
main()


Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
yes


Fixed submission (verdict: Accepted):
def main2():
    w = input()
    judge = "Yes"
    for i in w:
        if w.count(i) % 2 != 0:
            judge = "No"
    print(judge)

main2()

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=list(input())
w.sort()
b=w[0]
y=1
Y=0
for i in range(len(w)-1):
    if b==w[i+1]:
        y+=1
    else:
        if y%2!=0:
            Y+=1
            y=1
            b=w[i+1]
if Y==0 and y%2==0:
    print('Yes')
else:
    print('No')

Failing test case input:
krtjj

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=list(input())

s.sort()

n=len(s)

c=1
f=1
now=s[0]

for i in range(1,n):
    if now==s[i]:
        c+=1
    else:
        if c%2==1:
            f=-1
        c=1
        now=s[i]
else:
    if c%2==1:
        f=-1

if f<0:
    print("No")
else:
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter

w = input()
flag = 0

counter = Counter(w)

for word, cnt in counter.most_common():
    if cnt % 2 != 0:
        flag = 1
        print("NO")

if flag == 0:
    print("YES")

Failing test case input:
ijsrk

Expected output:
No


Actual output:
NO
NO
NO
NO
NO


Fixed submission (verdict: Accepted):
from collections import Counter

w = input()
flag = 0

counter = Counter(w)

for word, cnt in counter.most_common():
    if cnt % 2 != 0:
        flag = 1

if flag == 0:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

flag = True
for i in range(len(w)):
    if w[i] != "a" and w[i] != "z":
        flag = False
        break

if flag:
    print("Yes")
else:
    print("No")

Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
from collections import Counter
w = input()

c = Counter(w)

flag = True

for i in c.values():
    if i % 2 == 1:
        flag = False
        break

if flag:
    print("Yes")
else:
    print("No")
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
W=input()
count=1
w=[]

for j in range(len(W)):
    w.append(W[j])

w.sort()

w.append("")
print(w)

for i in range(len(w)-1):
    if w[i]==w[i+1]:
        count+=1
    else:
        if count %2 !=0:
            print("No")
            exit()
        else:
            count=1

print("Yes")

Failing test case input:
da`dc__a

Expected output:
No


Actual output:
['_', '_', '`', 'a', 'a', 'c', 'd', 'd', '']
No


Fixed submission (verdict: Accepted):
W=input()
count=1
w=[]

for j in range(len(W)):
    w.append(W[j])

w.sort()

w.append("")

for i in range(len(w)-1):
    if w[i]==w[i+1]:
        count+=1
    else:
        if count %2 !=0:
            print("No")
            exit()
        else:
            count=1

print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter
s = input()
ans = [False if i%2 else True for i in Counter(s).values()]
print(all(ans))

Failing test case input:
jisjr

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
from collections import Counter
s = input()
ans = [False if i%2 else True for i in Counter(s).values()]
print("Yes" if all(ans) else "No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
wlist = [0 for i in range(26)]
w = list(input())
for i in w:
    wlist[ord(i) - 97] += 1
ans = 1
for i in wlist:
    if i % 2 != 0:
        print("No")
        ans = -1
if ans == 1:
    print("Yes")


Failing test case input:
ad`cd_b`

Expected output:
No


Actual output:
No
No
No
No


Fixed submission (verdict: Accepted):
wlist = [0 for i in range(26)]
w = list(input())
for i in w:
    wlist[ord(i) - 97] += 1
ans = 1
for i in wlist:
    if i % 2 != 0:
        print("No")
        ans = -1
        break
if ans == 1:
    print("Yes")

Problem: p04012
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
w = input()

for i in range(len(w)):
    if w.count(w[i]) % 2 != 0:
        print('NO')
        exit()
print('YES')

Failing test case input:
a_b`cdac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = input()

for i in range(len(w)):
    if w.count(w[i]) % 2 != 0:
        print('No')
        exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
flag=True
for i in str(w):
  if str(w).count(i)==2:
    continue
  else:
    flag=False
print("Yes" if flag==True else "No")


Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
w=input()
flag=True
for i in str(w):
  if int(str(w).count(i))%2==0:
    continue
  else:
    flag=False
print("Yes" if flag==True else "No")
Problem: p04012
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
w = input()

for i in range(ord('a'),ord('z')+1):
  print(str(i))
  if w.count(str(i))%2==1:
    print('No')
    exit()
else: print('Yes')


Failing test case input:
ihsri

Expected output:
No


Actual output:
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Yes


Fixed submission (verdict: Accepted):
w = input()
 
for i in range(ord('a'),ord('z')+1):
  if w.count(chr(i))%2==1:
    print('No')
    break
else: print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
l=[]
c=0
for i in w:
  l.append(i)
l.sort()
for k in range(len(l)-1):
  if l[k]==l[k+1]:
    c+=1
  elif c%2==1:
    c=0
    continue
  else:
    print('NO')
    exit()
print('YES')

Failing test case input:
igssh

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w=input()
l=[]
c=0
for i in w:
  l.append(i)
l.sort()
if len(l)<2:
  print('No')
  exit()
for k in range(len(l)-1):
  if l[k]==l[k+1]:
    c+=1
  elif c%2==1:
    c=0
    continue
  else:
    print('No')
    exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
x={}
for s in w:
    if s in x.keys():
        x[s]+=1
    else:
        x[s]=1
f=False
for v in x.values():
    if v%2==1:
        print('No')
        f=True
if not(f):
    print('Yes')
        

Failing test case input:
c_bd_ca`

Expected output:
No


Actual output:
No
No
No
No


Fixed submission (verdict: Accepted):
w=input()
x={}
for s in w:
    if s in x.keys():
        x[s]+=1
    else:
        x[s]=1
for v in x.values():
    if v%2==1:
        print('No')
        exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()

for i in range(len(w)):
    count = 0
    for j in range(len(w)):
        if w[i] == w[j]:
            count = count + 1
    if count%2 == 1:
        print('No')
        break
    else:
        continue
    print('Yes')

Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
w = input()

if len(w)%2 == 1:
    print('No')
else:
    count = 0
    for i in range(len(w)):
        if w.count(w[i])%2 == 1:
            print('No')
            count = count + 1
            break
        else:
            continue
        
    if count == 0:
        print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
flag=0
for i in list(set(w)):
    if w.count(i)%2==1:
        flag=1
        print(i)
if flag:print('No')
else:print('Yes')

Failing test case input:
`b`cc`ba

Expected output:
No


Actual output:
`
a
No


Fixed submission (verdict: Accepted):
w=input()
flag=0
for i in list(set(w)):
    if w.count(i)%2==1:
        flag=1
if flag:print('No')
else:print('Yes')
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
retw = "YES"
for i in range(len(w)):
    if w.count(w[i])%2 != 0:
        retw = "NO"
        break
print(retw)


Failing test case input:
hgsti

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = input()
retw = "Yes"
for i in range(len(w)):
    if w.count(w[i])%2 != 0:
        retw = "No"
        break
print(retw)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=list(input())
ans=sorted(w)

if len(ans)==1:
  print('No')
else:
  while ans[-1]==ans[-2]:
    del ans[-2:]
    if len(ans)==0 or len(ans)==1:
      break

if len(ans)==0:
  print('Yes')
elif len(ans)==1:
  ans=[]
else:
  print('No')



Failing test case input:
hthth

Expected output:
No

Actual output:

Fixed submission (verdict: Accepted):
w=list(input())
ans=sorted(w)

if len(ans)>1:
  while ans[-1]==ans[-2]:
    del ans[-2:]
    if len(ans)==0 or len(ans)==1:
      break

if len(ans)==0:
  print('Yes')
else:
  print('No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

S = list(open(0).read())
set_S = list(set(S))
beautiful = [S.count(i)%2 for i in set_S]
print('Yes' if sum(beautiful)==0 else 'No')


Failing test case input:
abaccaba

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):


S = list(input())

set_S = list(set(S))
beautiful = [S.count(i)%2 for i in set_S]
print('Yes' if sum(beautiful)==0 else 'No')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import collections

w = input()
c = collections.Counter(w)
for k, v in c.items():
    if v % 2 == 1:
        print('NO')
        exit()
print('YES')

Failing test case input:
a_b`cdac

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
import collections

w = input()
c = collections.Counter(w)
for k, v in c.items():
    if v % 2 == 1:
        print('No')
        exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


w = str(input())

for i in w:
  if w.count(i) % 2 == 1:
    print("NO")
    exit()
    
print("Yes")


Failing test case input:
rjkti

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w = input()
w_set = set(w)
for i in w_set:
	if w.count(i) % 2 ==1:
		print("No")
		exit()
print("Yes")

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import Counter

w=input()

d=Counter(w)

ans="Yes"

for i in d.values():
  if i%2==0:
    ans="No"
    break

print(ans)

Failing test case input:
ijsrk

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from collections import Counter

w=input()

d=Counter(w)

ans="Yes"

for i in d.values():
  if i%2!=0:
    ans="No"
    break

print(ans)
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=list(input())
w.sort()
b=w[0]
y=1
Y=0
for i in range(len(w)-1):
    if b==w[i+1]:
        y+=1
    else:
        if y%2!=0:
            Y+=1
            y=1
            b=w[i+1]
if Y==0:
    print('Yes')
else:
    print('No')

Failing test case input:
krtjj

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s=list(input())

s.sort()

n=len(s)

c=1
f=1
now=s[0]

for i in range(1,n):
    if now==s[i]:
        c+=1
    else:
        if c%2==1:
            f=-1
        c=1
        now=s[i]
else:
    if c%2==1:
        f=-1

if f<0:
    print("No")
else:
    print("Yes")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import Counter

S = input()
C = Counter(S)
ans = "YES"
for c in C.values():
	if c % 2 == 1:
		ans = 'NO'
		break
print(ans)

Failing test case input:
irshi

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
from collections import Counter

S = input()
C = Counter(S)
ans = "Yes"
for c in C.values():
	if c % 2 == 1:
		ans = 'No'
		break
print(ans)

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = input()
a = "abcdefghijklmnopqrstuvwxyz"
co = 0
ch = True
for i in a:
    for j in w:
        if i == j:
            co += 1
    if co % 2:
        ch = False
        break
    co = 0
    
    
if ch:
    print("yes")
else:
    print("No")


Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
w = input()
a = "abcdefghijklmnopqrstuvwxyz"
co = 0
ch = True
for i in a:
    for j in w:
        if i == j:
            co += 1
    if co % 2:
        ch = False
        break
    co = 0
    
    
if ch:
    print("Yes")
else:
    print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w=input()
for i in range(97,123):
    cnt=0
    for j in range(len(w)):
        w[j]==chr(i)
        cnt+=1
    if cnt%2==1:
        print("No")
        exit()
print('Yes')

Failing test case input:
`ac_db^c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
w=input()
for i in range(97,123):
    cnt=0
    for j in range(len(w)):
        if w[j]==chr(i):
            cnt+=1
    if cnt%2==1:
        print("No")
        exit()
print('Yes')

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
w = str(input())
count = 1
for i in range(len(w)):
    s = w.count(w[i])
    if s % 2 != 0:
        print("No")
        count -=1
if count == 0:
    print("Yes")


Failing test case input:
jrrji

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
w = str(input())
count = 1
for i in range(len(w)):
    s = w.count(w[i])
    if s % 2 != 0:
        print("No")
        count -=1
        break
if count == 1:
    print("Yes")
Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

def isBeautiful(s):
  dict = {}
  for i in s:
    if i not in dict:
      dict[i] = 1
    else:
      dict[i] += 1
      
  for key in dict:
    if dict[key] % 2 != 0:
      return False
    
  return True
  
print(isBeautiful(s))

Failing test case input:
hgsti

Expected output:
No


Actual output:
False


Fixed submission (verdict: Accepted):
s = input()

def isBeautiful(s):
  dict = {}
  for i in s:
    if i not in dict:
      dict[i] = 1
    else:
      dict[i] += 1
      
  for key in dict:
    if dict[key] % 2 != 0:
      return "No"
    
  return "Yes"
  
print(isBeautiful(s))

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = str(input())
b =sorted(list(set(a)))
c = 0
for i in b:
  if b.count(i)%2 == 0:
    c += 0
  else:
    c += 1

if c == 0:
  print("Yes")
else:
  print("No")

Failing test case input:
ab`cc`ba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a = str(input())
b =sorted(list(set(a)))
c = 0
for i in b:
  if a.count(i) % 2 == 0:
    c += 0
  else:
    c += 1

if c == 0:
  print("Yes")
else:
  print("No")

Problem: p04012
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
a = sorted(a)
def count(a):
    b =[]
    for i in range(0,len(a)-2):
        if a[i] != a[i+1]:
            b.append( i+1)
    return b

b = count(a)
b.append(len(a))

for i in reversed(range(0,len(b)-1)):
    b[i+1] =b[i+1] - b[i]

d = 0
for i in range(0,len(b)):
    d = d +b[i]%2

if d ==0:
    print('yes')
else:
    print('no')

Failing test case input:
`a_cd^ad

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
a = list(input())
a = sorted(a)
def count(a):
    b =[]
    for i in range(0,len(a)-2):
        if a[i] != a[i+1]:
            b.append( i+1)
    return b

b = count(a)
b.append(len(a))

for i in reversed(range(0,len(b)-1)):
    b[i+1] =b[i+1] - b[i]

d = 0
for i in range(0,len(b)):
    d = d +b[i]%2

if d ==0:
    print('Yes')
else:
    print('No')

Problem: p04012
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
w =str(input())

length = len(w)
z = sorted(w)
i=1
m=0
   
if length%2 == 1:
    m = 1
    pass
else:
    while i < length:        
        if z[i]==z[i-1]:
            i += 2
        else:
            m = 1
            break
        
if m == 1:
    print("NO")
else:
    print("YES")

Failing test case input:
ab`ccaba

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
w =str(input())

length = len(w)
z = sorted(w)
i=1
m=0
   
if length%2 == 1:
    m = 1
    pass
else:
    while i < length:        
        if z[i]==z[i-1]:
            i += 2
        else:
            m = 1
            break
        
if m == 1:
    print("No")
else:
    print("Yes")