#include <stdio.h>
int main(void)
{
int A,B,C,X,Y,Z,hako;
scanf("%d",&X);
scanf("%d",&Y);
scanf("%d",&Z);
printf("%d",X);
printf("%d",Y);
printf("%d",Z);
A=Z; B=X; C=Y;
printf("%d",A);
printf("%d",B);
printf("%d",C);

return 0;
}