s=input()print("YES" if sum(s.count(c)%2 for c in s)<=1 else "NO")
aaa
NO
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!