#include
#include
#include
#include
int main(int argc, const char * argv[]) {
char s[1000];
scanf("%s", s);
char s2[1000];
scanf("%s", s2);
char * s3 = strcat(s, s2);
char s4[1000];
scanf("%s", s4);
s3 = strcat(s3, s4);
printf("%s\n", s3);
return 0;
}