Game of Thrones - I

  • + 3 comments
    from collections import Counter
    print "YES" if len(filter(lambda x: x & 1, Counter(raw_input()).values())) <= 1 else "NO"