uncommon Alphabets


 

d=input().strip()

s2=input().strip()

a,b=[],[]

for i in d:

    if i not in a:

        a.append(i)

for i in s2:

    if i not in b:

        b.append(i)

for i in b:

    if i not in d:

        print(i,end='')

print()

for i in a:

    if i not in b:

        print(i,end='')


Post a Comment

0 Comments