You are given three strings named as A, B, and C. Here, the length of the strings A and B is equal. All strings contain lowercase English letters. The string A and B contain the following properties:
For example:
You are given two strings:
Here, the character a is equivalent to the character x, character b is equivalent to the character c, and character c is equivalent to the character d. According to the third property, the character b is also equivalent to the character d.
You can replace any character of string C with its any equivalent character. By replacing any character of the string C with its equivalent characters, you can construct multiple new strings. Your task is to print the lexicographically smallest string out of all possible new strings that you can construct.
Note: If the first character of s(s1) is smaller than the first character of t(t1), then the lexicographical order is an order relation where string s is smaller than string t. If they are equivalent, the second character is checked and so on.
Input format
Output format
Print the lexicographically smallest string.
Constraints
1≤ length of strings A,B,C≤100000
length of string A = length of string B
All the strings consist of lowercase English letters.
In string C , you can replace y with b and z with c to find the lexicographically smallest string.
From string A and B,
a is equivalent to x
b is equivalent to y
c is equivalent to z