#include<stdio.h>

int main(){
   int X,Y,Z;
   int tmp;

   scanf("%d %d %d",&X,&Y,&Z);
   tmp = X;
   X = Y;
   Y = tmp;
   tmp = X;
   X = Z;
   Z = tmp;

   printf("%d %d %d\n",X,Y,Z);

   return 0;
}
   