Common Character and Concatenate


There are two strings 'A' and 'B' given. You have to modify the strings such that, remove all the common characters of both the strings. After that concatenate the remaining uncommon characters of both the strings.

Write a function solve that have the following parameter(s):
1.) A: a string
2.) B: a string

Example
Input:
There are the strings A and B:
A = lip
B = pin
Output:
The function will return,
ln

Explanation
The common characters of A and B are:
p and i.
The un-common characters of A and B are:
l and n.

Constraints
• The length of the string will be greater than or equal to 1 and less than or equal to 100.