s=[*eval(input())];print(('NYoe s'[all([1 if s.count(i)%2==0 else 0 for i in set(s)])::2]))
s=[*eval(input())];print(('NYoe s'[all([s.count(i)%2==0 for i in set(s)])::2]))
s = [*eval(input())]
print(("NYoe s"[all([1 if s.count(i) % 2 == 0 else 0 for i in set(s)]) :: 2]))

s = [*eval(input())]
print(("NYoe s"[all([s.count(i) % 2 == 0 for i in set(s)]) :: 2]))

-print(("NYoe s"[all([1 if s.count(i) % 2 == 0 else 0 for i in set(s)]) :: 2])) +print(("NYoe s"[all([s.count(i) % 2 == 0 for i in set(s)]) :: 2]))