#include
void main()
{
char a[100],b[100],*p1,*p2;
scanf("%s%s",a,b);
p1=a;
p2=b;
while(*p1!=0)
p1++;
while(*p2!=0)
*p1++=*p2++;
*p1=0;
printf("%s\n",a);
}
#include
void main(){
char a[256],b[246],*p1,*p2,*address;
gets(a);
gets(b);
p1 = a;
p2 = b;
address = p1;
puts(p1);
puts(p2);
while(*p1) {
p1++;
}
while(*p1++ = *p2++) {
NULL;
}
puts(address);
}