#include <conio.h>
#include <iostream.h>

int main()
{
    char t1[50], t2[50], t3[100]="";
    int j,k;
    gets(t1);
    gets(t2);
    
    for(j=0;1;j++)
    {
       if(t1[j]=='\0') break;
       else t3[j]=t1[j];
    }
    for(k=0;1;k++)
    {
       if(t2[k]=='\0') break;
       else t3[k+j]=t2[k];
    }
    cout << t3 << "\n";
    system("PAUSE");
    return 0;
}
