s = eval(input())

ss = set(s)



r = 'Yes'

for w in ss:

  if s.count(w) % 2 == 1:

    r = 'No'

    break

print(r)
s = eval(input())

 

r = 'Yes'

for w in s:

  if s.count(w) % 2 == 1:

    r = 'No'

    break

print(r)
s = eval(input())
ss = set(s)
r = "Yes"
for w in ss:
    if s.count(w) % 2 == 1:
        r = "No"
        break
print(r)

s = eval(input())
r = "Yes"
for w in s:
    if s.count(w) % 2 == 1:
        r = "No"
        break
print(r)

-ss = set(s) -for w in ss: +for w in s: