#include <stdio.h>
int main(void){
int x,y,z;
int temp;
int no;

scanf("%d",&x);
scanf("%d",&y);
scanf("%d",&z);

    temp=x;
    x=y;
    y=temp;
    
    no=x;
    x=z;
    z=no;
   
printf("%3d%3d%3d",x,y,z);

return 0;
}