#include<bits/stdc++.h>
using namespace std;
int main()
{
string a;
string b;
int ht[300]={0};
//memset(ht,0,sizeof(ht));
getline(cin,a);
getline(cin,b);
string c = a+b;
for(int i=0; i<c.length(); ++i){
if(ht[c[i]] == 0)
{
cout<<c[i];
ht[c[i]]++;
}
}
cout<<endl;
return 0;
}
网友评论