#include<stdio.h>
#include<math.h>

int main(void){
   int tmp=0;
   int tmp2=0;
   int X,Y,Z;
   scanf("%d %d %d",&X,&Y,&Z);
   tmp=X;
   X=Y;
   Y=tmp;
   tmp2=X;
   X=Z;
   Z=tmp2;
   printf("%d %d %d",X,Y,Z);
   return 0;
}
   