Problem:
 Score : 200 points    Problem Statement Let w be a string consisting of lowercase letters.
We will call w  beautiful if the following condition is satisfied:   Each lowercase letter of the English alphabet occurs even number of times in w .   You are given the string w . Determine if w is beautiful.      Constraints  1 \leq |w| \leq 100  w consists of lowercase letters ( a - z ).         Input The input is given from Standard Input in the following format:  w       Output Print Yes if w is beautiful. Print No otherwise.        Sample Input 1 abaccaba      Sample Output 1 Yes  a occurs four times, b occurs twice, c occurs twice and the other letters occur zero times.       Sample Input 2 hthth      Sample Output 2 No

Solution (Python):
import sys

w = sys.stdin.readline()

c = 'a'

for i in xrange(26):
    if w.count(chr(ord(c) + i)) % 2 == 1:
        print 'No'
        break
else:
    print 'Yes'

Solution (Python):
w = input()
cnt = 26*[0]

for i in w:
    cnt[ord(i)-ord("a")] += 1

for c in cnt:
    if c % 2 != 0:
        print("No")
        exit()

print("Yes")

Solution (Python):
w=list(str(raw_input()))
lib=list(set(w))
res="Yes"
for i in range(0,len(lib)):
    if(w.count(lib[i])%2==1):
        res="No"
print(res)

Solution (Python):
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')

Solution (Python):
w = input()                    
l = list(w)                    
l.sort()                       
ans = "Yes"                    
if len(l)%2 != 0:
    print("No")
    exit()
for i in range(int(len(l)/2)): 
    if l[2*i] != l[2*i+1]:     
        ans = "No"             
        break                  
print(ans)

Solution (Python):


from collections import Counter

def read_input():
    return input()

def check_beauty(s):
    """
    >>> check_beauty("abaccaba")
    Yes
    >>> check_beauty("hthth")
    No
    """
    checker = Counter(s)
    checker_key = [i[1] for i in checker.items() if not i[1] % 2 == 0]

    if len(checker_key) > 0:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':

    
    
    

    s = read_input()

    check_beauty(s)

Solution (Python):
w = input()

def g(num):
   if num%2 == 0:
      return 1
   else:
      return 0

if g(w.count('a'))*g(w.count('b'))*g(w.count('c'))*g(w.count('d'))*g(w.count('e'))*g(w.count('f'))*g(w.count('g'))*g(w.count('h'))*g(w.count('i'))*g(w.count('j'))*g(w.count('k'))*g(w.count('l'))*g(w.count('m'))*g(w.count('n'))*g(w.count('o'))*g(w.count('p'))*g(w.count('q'))*g(w.count('r'))*g(w.count('s'))*g(w.count('t'))*g(w.count('u'))*g(w.count('v'))*g(w.count('w'))*g(w.count('x'))*g(w.count('y'))*g(w.count('z')) == 0:
   print("No")
else:
   print ("Yes")

Solution (Python):
w = raw_input()

if len(w) % 2 != 0:
    print 'No'
else:
    answer = 'Yes'
    for s in w:
        if w.count(s) % 2 != 0:
            answer = 'No'
            break
    print answer

Solution (Python):
from collections import Counter
w = raw_input()
count_dict = Counter(w)
for key in count_dict:
    if count_dict[key] % 2 != 0:
        print 'No'
        break
else:
    print 'Yes'

Solution (Python):
import sys
w = list(input())
w = sorted(w)
counter = 1
for i in range(len(w)-1):
    if w[i] == w[i+1]:
        counter = counter + 1
    else:
        if counter % 2 != 0:
            print("No")
            sys.exit()
        counter = 1
if counter % 2 == 0 :
    print('Yes')
else:
    print('No')

Solution (Python):
import collections
s = input()
cnt = collections.Counter(s)
print('Yes' if all([v % 2 == 0 for v in cnt.values()]) else 'No')

Solution (Python):
s = raw_input()
word_list = {}
for i in s:
    if not word_list.has_key(i):
        word_list[i] = 1
    else:
        word_list[i] += 1

flag = 0
for i in word_list.values():
    if i % 2 == 1:
        flag = 1

if flag == 1:
    print 'No'
else:
    print 'Yes'

Solution (Python):
from collections import defaultdict
s=raw_input()
di=defaultdict(int)
for i in xrange(len(s)):
    di[s[i]]+=1
for i in xrange(len(s)):
    j=di[s[i]]
    if j%2==1:
        print("No")
        exit()
print("Yes")

Solution (Python):

import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll

w = raw_input()
cnt = [0]*26
for c in w:
    cnt[ord(c) - ord("a")] += 1
print "Yes" if all([cnt[i]%2 == 0 for i in xrange(26)]) else "No"

Solution (Python):
from collections import Counter
s = input()
c = Counter(s).values()
for n in c:
	if n & 1 == 1:
		print("No")
		break
else:
	print("Yes")

Solution (Python):
from collections import Counter


def main():
    w = input()
    d = Counter(w)
    for k, v in d.items():
        if v % 2 != 0:
            print("No")
            break
    else:
        print("Yes")


if __name__ == '__main__':
    main()

Solution (Python):
def read():
    return int(input())

def reads(sep=None):
    return list(map(int, input().split(sep)))

def main():
    w = input()
    flag = True
    for i in range(ord('a'), ord('z')+1):
        if w.count(chr(i)) % 2:
            flag = False
            break
    print('Yes' if flag else 'No')

main()

Solution (Python):
import collections
o = "Yes"
for v in collections.Counter(input().strip()).values():
    if v % 2 != 0: o = "No"
print(o)

Solution (Python):
from collections import defaultdict


def main():
    w = input()
    d = defaultdict(int)
    for c in w:
        d[c] += 1
    ans = 'Yes'
    for cnt in d.values():
        if cnt & 1 == 1:
            ans = 'No'
            break
    print(ans)

if __name__ == '__main__':
    main()

Solution (Python):
w = raw_input()
queue = []
for i in w:
    if i in queue:
        queue.remove(i)
    else:
        queue.append(i)
if queue:
    print "No"
else:
    print "Yes"

Solution (Python):
w = input()

words = {}

for c in w:
    if c in words:
        words[c] += 1
    else:
        words[c] = 1

is_beautiful = True

for c in words:
    if words[c] % 2:
        is_beautiful = False
        break

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

Solution (Python):
N = raw_input()

def average(N):
    if N == "":
        return 'Yes'

    count = 0
    for i in range(len(N)):
        if N[0] == N[i]:
            count+=1

    if count % 2 == 1:
        return 'No'

    N = N.replace(N[0],"")
    return average(N)

print average(N)

Solution (Python):
ct = {}
for w in input():
    if w not in ct:
        ct[w] = 0
    ct[w] += 1

ans = "Yes"
for k,v in ct.items():
    if v%2 == 1:
        ans = "No"
print(ans)

Solution (Python):
def B(w,arpha,count):
    for c in w:
        for i,a in enumerate(arpha):
            if c == a:
                count[i]+=1

    for i in count:
        if  i % 2 != 0:
            return print("No")
    print("Yes")

w = input()
arpha = [chr(i) for i in range(97,97+26)]
count = [0 for i in range(26)]
B(w,arpha,count)

Solution (Python):
w=input()
print("Yes" if not sum([w.count(i)%2 for i in list(set(w))]) else "No")

Solution (Python):
d = dict()
for c in raw_input():
    d[c] = d.get(c, 0 ) + 1
flag = True
for v in d.values():
    if v % 2 == 1:
        flag = False
print "Yes" if flag else "No"

Solution (Python):
s = raw_input().strip()

from collections import defaultdict
d = defaultdict(int)
for e in s:
	d[e] += 1

ans = True
for e in s:
	if d[e] % 2:
		ans = False
		break
if ans:
	print 'Yes'
else:
	print 'No'

Solution (Python):
w = raw_input()

for c in w :
  if w.count(c) % 2 != 0 :
    print "No"
    break
else :
  print "Yes"

Solution (Python):
from collections import Counter
print("Yes" if all(x % 2 == 0 for x in Counter(input()).values()) else "No")

Solution (Python):
text = input()
print('No' if any([text.count(x) & 1 for x in set(text)]) else 'Yes')

Solution (Python):
import string
w = input()
isYes = True
for i in string.ascii_lowercase:
    if w.count(i) % 2 == 1:
        isYes = False
        
if isYes:
    print( "Yes" )
else:
    print( "No" )

Solution (Python):
line = raw_input()

c = 'a'
flg = 'Yes'

for i in range(0, 26):
    if line.count(c) % 2 == 1:
        flg = 'No'
        break
    c = chr(ord(c) + 1)

print flg

Solution (Python):
w=input()
if len(w)%2 != 0:
    print("No")
    exit()
alp=[]
c='a'
while ord(c) <= ord('z'):
    alp.append(0)
    c=chr(ord(c)+1)
for s in w:
    alp[ord(s)-ord('a')]+=1
c='a'
while ord(c) <= ord('z'):
    if alp[ord(c)-ord('a')]%2 != 0:
        print("No")
        exit()
    c=chr(ord(c)+1)
print("Yes")

Solution (Python):
a = raw_input()

b = []
for i in range(30):
	b.append(0)

for i in a:
	b[ord(i) - ord("a")] += 1

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

Solution (Python):



w = input()

cnt = 0
for i in range(len(w)) :
    if w.count(w[i]) % 2 != 0 :
        cnt += 1

print("Yes" if cnt == 0 else "No")

Solution (Python):
w = input()
r = 'Yes'
for c in w:
    if w.count(c) % 2 != 0:
        r = 'No'
        break
print(r)

Solution (Python):


def isBeautiful(w):
    w = list(w)
    length = len(w)
    
    if length % 2 != 0:
        return False
    
    w.sort()
    for i in range(0, length, 2):
      if w[i] != w[i + 1]:
        return False
    
    return True

w = input().strip()
 
print('Yes' if isBeautiful(w) else 'No')

Solution (Python):
string = raw_input()
dic = {}
for i in range(len(string)):
  if dic.has_key(string[i]):
    del dic[string[i]]
  else:
    dic[string[i]] = True

if len(dic) == 0:
  print "Yes"
else:
  print "No"

Solution (Python):
w=str(input())
ts=list(set(w))
for t in ts:
    b=w.count(t)%2 == 0
    if not b:
        break
print('Yes' if b else 'No')

Solution (Python):


s = raw_input()
lut = {}

for c in s:
    if lut.has_key(c) :
        lut[c] += 1
    else:
        lut[c] = 1

ret = "Yes"
for c in range(ord('a'),ord('z')+1):
    c = chr(c)
    if lut.has_key(c) and lut[c] % 2 != 0:
        ret = "No"
        break

print ret

Solution (Python):
from collections import Counter
w = list(raw_input())
c = Counter(w)
for k, v in c.items():
    if v % 2 == 1:
        print "No"
        exit()
else:
    print "Yes"

Solution (Python):
from collections import Counter
w = input()
cnt = Counter()
for word in w:
    cnt[word] += 1
v = list(cnt.values())
if sum([v[i] %2 for i in range(len(cnt))]) == 0:
    print("Yes")
else:
    print("No")

Solution (Python):
import collections

w = raw_input()
bool = False

count = collections.Counter(w)
for k,v in count.items():
	if v%2 == 1:
		print "No"
		bool = False
		break
	else:
		bool = True
		pass
if bool == True:
	print "Yes"

Solution (Python):
import sys
w = input()
for i in range(0,26):
    if w.count(chr(ord("a")+i))%2 != 0:
        print("No")
        sys.exit()
print("Yes")

Solution (Python):
w = input()


hist = dict()
for char in w:
  if not char in hist.keys():
    hist[char] = 1
  else:
    hist[char] += 1

answer = True
for value in hist.values():
  if value % 2 == 1:
    answer = False

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

Solution (Python):


w = input()

chars = "abcdefghijklmnopqrstuvwxyz"

for x in chars:
    if w.count(x) % 2 != 0:
        print("No")
        break
else:
    print("Yes")

Solution (Python):
import collections
w = raw_input()
s=[]
count_dict = collections.Counter(w)
a = count_dict.values()
for i in a:
	i=i%2
	s.append(i)
b = 1
if b in s:
	print "No"
else:
	print "Yes"

Solution (Python):
from collections import Counter
print(('No','Yes')[all(i%2==0 for i in Counter(input()).values())])

Solution (Python):
w=str(raw_input())

isBeautiful = True

for c in w:
    if (w.count(c)%2)!=0:
        isBeautiful = False
        break

print "Yes" if isBeautiful else "No"

Solution (Python):
w = list(input())
x = set(w)
for i in x:
    if w.count(i) % 2 != 0:
        print('No')
        break
else:
    print('Yes')

Solution (Python):
import string
import sys
 
w = input()
for c in string.ascii_lowercase:
    if w.count(c) % 2 == 1:
        print("No")
        sys.exit()
print("Yes")

Solution (Python):
import collections

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

Solution (Python):
import re
p = re.compile('^(.)\\1')
w = ''.join(sorted(list(raw_input())))
r = re.subn(p,'',w)
while r[1]:
    r = re.subn(p,'',r[0])
print 'No' if len(r[0]) else 'Yes'

Solution (Python):
import re
p = re.compile('^(.)\\1')
w = ''.join(sorted(list(raw_input())))
r = re.subn(p,'',w)
while r[1]:
    r = re.subn(p,'',r[0])
if len(r[0]):
    print 'No'
else:
    print 'Yes'

Solution (Python):


w=raw_input()
res=True
for i in xrange(97,123):
 if w.count(chr(i))%2==0:
  res=res and True
 else:
  res=False
print "Yes" if res==True else "No"

Solution (Python):
str = input()
str_set = set(str)

for x in str_set:
    c = str.count(x)
    if c % 2 == 1:
        print('No')
        exit()

print('Yes')

Solution (Python):
from collections import Counter
print("No" if [v for v in Counter(input()).values() if v % 2] else "Yes")

Solution (Python):
from collections import Counter
print("No" if len(set([v for v in Counter(input()).values() if v % 2])) else "Yes")

Solution (Python):
c={}
for k in raw_input():c[k]=1+c[k]if k in c else 1
print"No"if any(c[k]%2 for k in c)else"Yes"

Solution (Python):
c={}
for k in raw_input():c[k]=(c[k]if k in c else 0)+1
print"No"if any(c[k]%2 for k in c)else"Yes"

Solution (Python):
c={}
for k in raw_input():
 try:c[k]+=1
 except:c[k]=1
print"Yes"if all(c[k]%2<1 for k in c)else"No"

Solution (Python):
c={}
for k in raw_input():c[k]=(c[k]if k in c else 0)+1
print"Yes"if all(c[k]%2<1 for k in c)else"No"

Solution (Python):
from collections import defaultdict
counts=defaultdict(int)
for c in raw_input():counts[c]+=1
print"Yes"if all(counts[k]%2<1 for k in counts)else"No"

Solution (Python):
from collections import defaultdict
counts = defaultdict(int)
for c in raw_input():
  counts[c] += 1
allgood = True
for k in counts:
  allgood &= (counts[k] % 2 == 0)
print "Yes" if allgood else "No"

Solution (Python):
import string

w = raw_input()
d = dict.fromkeys(string.ascii_lowercase, 0)
for i in range(len(w)):
    d[w[i]] += 1

    
finalprint = "Yes"    

for key, value in d.iteritems():
    bool = value % 2
    if bool == 0:
        continue
    else:
        finalprint = "No"
        break

print finalprint

Solution (Python):
import collections
word = raw_input()

letter_list = collections.Counter(word)
ans = 'Yes'

for item, n in letter_list.items():
    if n%2 == 0:
        continue
    else:
        ans = 'No'
        break
print ans

Solution (Python):
w=raw_input()
print"Yes"*all(w.count(chr(97+e))%2==0for e in range(26))or"No"

Solution (Python):
alp = [chr(i) for i in range(97, 97+26)]
cnt = [0] * 26

w = list(input())

for W in w:
    for i in range(26):
        if W == alp[i]:
            cnt[i] += 1

for i in range(26):
    if cnt[i] % 2 :
        print("No")
        exit()

print("Yes")

Solution (Python):
import collections
import sys
c = collections.Counter(input()).most_common()
for i in c:
	if i[1] % 2 != 0:
		print('No')
		sys.exit()

print('Yes')

Solution (Python):
w = list(input())

def check(w):
    for x in w:
        n = w.count(x)
        if n%2 == 1:
            return False
    return True

if check(w):
    print("Yes")
else:
    print("No")

Solution (Python):
w = input()
print("Yes" if all([w.count(x)%2 == 0 for x in w]) else "No")

Solution (Python):
from collections import defaultdict
w=input()
dic=defaultdict(int)
for c in list(w):
    dic[c]+=1
    dic[c]%=2
sum=0
for k in dic.keys():
    sum+=dic[k]
if sum>0:
    print('No')
else:
    print('Yes')

Solution (Python):


from collections import Counter
w = Counter(input())

if all([(count % 2 == 0) for key, count in w.items()]):
    print("Yes")
else:
    print("No")

Solution (Python):
from Queue import * 
from bisect import * 
from collections import * 

import math
import copy
import itertools
import string
import sys
myread = lambda : map(int,raw_input().split())
def solver():
    memo = defaultdict(int)
    S = raw_input()
    for c in S:
        memo[c] += 1

    for v in memo.values():
        if v % 2 == 1:
            print 'No'
            return
    print 'Yes'



if __name__ == "__main__":
    solver()

Solution (Python):
from collections import Counter
print 'Yes' if all(a%2-1 for a in Counter(raw_input()).values()) else 'No'

Solution (Python):
from collections import Counter

if len(list((filter(lambda x: x%2 != 0, Counter(list(input())).values())))) > 0:
    print('No')
else:
    print('Yes')

Solution (Python):
import string
W = input()
for s in string.ascii_lowercase:
    cnt = W.count(s)
    if cnt % 2 != 0:
        print("No")
        exit()
print("Yes")

Solution (Python):
x=[0]*26
for c in input():
    x[ord(c)-ord('a')] = (x[ord(c)-ord('a')] + 1) & 1
print("Yes" if sum(x) == 0 else "No")

Solution (Python):
s = raw_input()
if all(s.count(c) % 2 == 0 for c in s):
  print "Yes"
else:
  print "No"

Solution (Python):
y=list(raw_input())
f=0
for i in set(y):
	if y.count(i)%2!=0:
		f=1
		break
if f:
	print "No"
else:
	print "Yes"

Solution (Python):
n = str(input())

d = {}
for i in n:
    if i in d:
        d[i] += 1
    else:
        d[i] = 1

res = 'Yes'
for i in d:
    if d[i] & 1:
        res = 'No'
        break

print(res)

Solution (Python):
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")

Solution (Python):
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')

Solution (Python):
w_list = list(str(input()))
w_list.sort()
l = len(w_list)

if l == 1:
    print("No")
    exit()

for i,j in zip(range(0, l, 2) ,range(1, l, 2)):
    if w_list[i] != w_list[j]:
        print("No")
        break
else:
    print("Yes")

Solution (Python):
from collections import defaultdict as dd
w = raw_input()

countlist = dd(int)
for i in range(len(w)):
    countlist[w[i]] += 1

flag = True
for value in countlist.itervalues():
    if value % 2 != 0:
        flag = False
        break

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

Solution (Python):
w = input()

abc = "abcdefghijklmnopqrstuvwxyz"

abc_count = []
abc_index = 0
isBeautiful = True
for ch in abc:
    abc_count.append(w.count(ch))
    if abc_count[abc_index] % 2 == 1:
        isBeautiful = False
        break
    abc_index += 1

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

Solution (Python):
w = str(raw_input())

dic = {"def":0}
for s in w:
    if s in dic.keys():
        dic[s] += 1
    else:
        dic.update({s:1})

flag = 0

for value in dic.values():
    if value%2 == 0:
        pass
    else:
        flag = 1

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

Solution (Python):
w = input()
for l in w:
	if w.count(l) % 2 == 1:
		print("No")
		break
else:
	print("Yes")

Solution (Python):
'''
Created on 2016/08/28

@author: diyosko7
'''

if __name__ == '__main__':
    n = 1
    lines = [str(input()) for i in range(n)]
    line = lines[0]
    strDict = {}

    v = [line[i: i+1] for i in range(0, len(line), 1)]
    
    d = {}
    for s in v:
        d.update({s:0})
    for s in v:
        d[s] += 1  
    
    flg = True
    for k,v in d.items():
        if v%2==0:
            pass
        else:
            flg = False
    if flg==True:
        print("Yes")
    else:
        print("No")

Solution (Python):
'''
Created on 2016/08/28

@author: diyosko7
'''

if __name__ == '__main__':
    n = 1
    lines = [str(input()) for i in range(n)]
    line = lines[0]
    strDict = {}

    v = [line[i: i+1] for i in range(0, len(line), 1)]
    
    d = {}
    for s in v:
        d.update({s:0})
    for s in v:
        d[s] += 1  
    
    flg = True
    for k,v in d.items():
        if v%2==0:
            pass
        else:
            flg = False
    if flg==True:
        print("Yes")
    else:
        print("No")

Solution (Python):
import string
w = input()
for i in string.ascii_lowercase:
    if w.count(i)%2 == 1:
        print('No')
        break
else:
    print('Yes')

Solution (Python):


import os, sys

if __name__ ==  "__main__":
    d = {}
    text = input()

    for j in text:
        for i in j:
            if i not in d:
                d[i] = 1
            else :
                d[i] += 1

    
    
    flag = 0
    for j in d:
        if d[j] % 2 == 0:
            continue
        else:
            flag = 1
            break
    if flag != 0:
        print('No')
    else:
        print('Yes')

Solution (Python):
str = input()
list = []

for w in range(len(str)):
    if ord(str[w]) in list :
        list.remove(ord(str[w]))
    else :
        list.append(ord(str[w]))

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

Solution (Python):
w = input()
d = {}

for char in w:
    if not char in d:
        d[char] = 1
    else:
        del d[char]

print('Yes' if len(d.values()) == 0 else 'No')

Solution (Python):
from collections import defaultdict
word = str(input())
count_dict = defaultdict(int)
beautiful = True
for letter in word:
    count_dict[letter] += 1
for cnt in count_dict.values():
    if cnt % 2 == 1:
        beautiful = False
if beautiful:
    print('Yes')
else:
    print('No')

Solution (Python):
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")

Solution (Python):
import sys 

w = sys.stdin.readline()
count = [0]*26

for i in w:
    if ord(i) in range(ord('a'),ord('z')+1):
        count[ord(i)-ord('a')] = count[ord(i)-ord('a')] + 1           

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

Solution (Python):
s = input()
f = True
for i in set(s):
    if s.count(i) % 2 : f = False
print('Yes' if f else 'No')

Solution (Python):
import sys
import numpy as np
w = np.array(list(raw_input()))
for c in set(w):
    if (w == c).sum() % 2 == 1:
        print 'No'
        sys.exit()
print 'Yes'

Solution (Python):
from collections import Counter
w = input()
counter = Counter(w)
str_set = set(w)

flag = 1
for s in str_set:
    if counter[s] % 2 != 0:
        print("No")
        flag = 0
        break

if flag == 1:
    print("Yes")

Solution (Python):
from collections import Counter

w = raw_input()
counter = Counter(w)

print "Yes" if all(v % 2 == 0 for v in counter.values()) else "No"

Solution (Python):
import sys

a = raw_input()

for i in a:
	s = 0
	for j in a:
		if i == j:
			s += 1 
	if s % 2 == 1:
		print "No"
		sys.exit()

print "Yes"

Solution (Python):
w=input()

if all(w.count(chr(ord('a')+i))%2==0 for i in range(26)):
    print('Yes')
else:
    print('No')

Solution (Python):
import re
import doctest


class IO_for_Contest(object):
    @staticmethod
    def my_input():
        
        return input()

    @staticmethod
    def read_from_input():
        
        pass

    @staticmethod
    def read_line():
        return IO_for_Contest.my_input().strip()

    @staticmethod
    def read_int():
        return int(IO_for_Contest.my_input().strip())

    @staticmethod
    def read_n_int(n):
        return list(map(
                    int,
                    re.split('\s+', IO_for_Contest.my_input().strip())))[ : n]

def solve():
    ceil = 100
    string = IO_for_Contest.read_line()[: ceil]
    s = set(string)
    for xx in string:
        s.add(xx)
    for e in s:
        if string.count(e) % 2 != 0:
            print('No')
            return
    print('Yes')


if __name__ == '__main__':
    
    solve()

Solution (Python):

from sys import stdin
ans = 'Yes'
s = set()
a = stdin.readline().strip()
for i in a:
 if i in s:
  s.remove(i)
 else:
  s.add(i)
if len(s):
 ans = 'No'
print ans

Solution (Python):
w=list(input())
alpha=list('abcdefghijklmnopqrstuvwxyz')
for i in alpha:
    if w.count(i)%2 ==1:
        print('No')
        exit()
print('Yes')

Solution (Python):
w=raw_input()
l=[0]*26
for i in w:
    l[ord(i)-97]+=1
for i in l:
    if i%2:
        print 'No'
        exit()
print 'Yes'
exit()

Solution (Python):
from collections import Counter

w = input()

c = Counter(w)

for _, v in c.items():
    if v % 2 != 0:
        print('No')
        break
else:
    print('Yes')

Solution (Python):
s = raw_input()

count = {}
for i in s:
    count.setdefault(i,0)
    count[i] += 1

ok = True

for c in count:
    if(count[c]%2!=0): ok = False

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

Solution (Python):
import collections
print('Yes' if len([1 for x in collections.Counter(input()).values() if x % 2]) == 0 else 'No')