#include<cstdio>
#include<cstdlib>
int main()
{
char s1[50], s2[20], *p = s1, *q = s2;
int i, j, n;
n = scanf_s("%s%s", s1, s2);
if (n < 2)
{
printf("error");
return -1;
}
while (*p != '\0') //计算s1的长度
p++;
while (*q != '\0')//将s2合并到s1的后面
*p++ = *q++;
*p = '\0';
printf("%s\n", s1);
system("pause");
return 0;
}