w=eval(input())

x={}

for s in w:

    if s in list(x.keys()):

        x[s]+=1

    else:

        x[s]=1

for v in list(x.values()):

    if v%2==1:

        print('No')

        exit()

print('Yes')
w=eval(input())

x={}

for s in w:

    if s in list(x.keys()):

        x[s]+=1

    else:

        x[s]=1

f=False

for v in list(x.values()):

    if v%2==1:

        print('No')

        f=True

        break

if not(f):

    print('Yes')
w = eval(input())
x = {}
for s in w:
    if s in list(x.keys()):
        x[s] += 1
    else:
        x[s] = 1
for v in list(x.values()):
    if v % 2 == 1:
        print("No")
        exit()
print("Yes")

w = eval(input())
x = {}
for s in w:
    if s in list(x.keys()):
        x[s] += 1
    else:
        x[s] = 1
f = False
for v in list(x.values()):
    if v % 2 == 1:
        print("No")
        f = True
        break
if not (f):
    print("Yes")

+f = False -        exit() -print("Yes") +        f = True +        break +if not (f): +    print("Yes")