Problem: Dothraki are planning an attack to usurp King Robert's throne. King Robert learns of this conspiracy from Raven and plans to lock the single door through which the enemy can enter his kingdom.

But, to lock the door he needs a key that is an anagram of a certain palindrome string.

The king has a string composed of lowercase English letters. Help him figure out whether any anagram of the string can be a palindrome or not. 

Input Format
A single line which contains the input string.

Constraints
1≤ length of string ≤105
Each character of the string is a lowercase English letter.

Output Format
A single line which contains YES or NO in uppercase.

SAMPLE INPUT
aaabbbb

SAMPLE OUTPUT
YES

Explanation

A palindrome permutation of the given string is bbaaabb.

Solution (in PYTHON):

Solution:
'''
from collections import Counter

ins = raw_input()
incs = Counter(ins)
lens = len(ins)
from itertools import groupby
res= [len(list(group)) for key, group in groupby(incs)]
if res == [1,1] or res == [1]:
    print "YES"
else:
    print "NO"
'''
from collections import Counter

ins = raw_input()
incs = Counter(ins)
oddlen=False
if len(ins) & 1 == 1:
    oddlen = True
odddone=False    
flag = True    
for k,v in incs.items():
    if v%2==1:
        if oddlen:
            if odddone==False:
                odddone=True
                continue
            else:
                flag=False
                break
        else:
            flag=False
            break 
print("YES" if flag==True else "NO")