#include #include #include using namespace std; int main() { string a, b; cin >> a >> b; a += b; sort(a.begin(), a.end()); cout << a << "\n"; }