1924: 【CSP字符串】字符串连接█

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

给出两个字符串,将它们进行拼接,拼接过程中每个字符只允许出现一次。

如:两个字符串 lns="http://www.w3.org/1998/Math/MathML">s1="adeab"s2="fcadex" ,那么连接时lns="http://www.w3.org/1998/Math/MathML">s1 留下 lns="http://www.w3.org/1998/Math/MathML">adeb (第 lns="http://www.w3.org/1998/Math/MathML">2 个 lns="http://www.w3.org/1998/Math/MathML">a 出现过了,就不要了),再将 lns="http://www.w3.org/1998/Math/MathML">s2 连接上来形成 lns="http://www.w3.org/1998/Math/MathML">adebfcx,两个字符串中重复的都过滤掉,但剩余的顺序不要调整。

Input

两行,每行一个只包含小写英文字母的字符串。

Output

一行,连接后的字符串。

Sample Input Copy

banana
apple

Sample Output Copy

banple