#include <iostream.h>
#include <stdio.h>

int main()
{
    char t1[100], t2[100];
    int i=0,j;
    gets(t1);
    gets(t2);
    
    while(t1[i]!='\0')
    {
         i++;
    }
    for(j=0;1;j++)
    {
         if(t1[j]=='\0') break;
         else t2[j+i]=t1[j];
    }
    //cout << j << " " << i;
    t2[i+j]=NULL;
    cout << t2;
    system("PAUSE");
    return 0;
}
