#include<stdio.h>
int main(void){
  int X,Y,Z,sw_num1,sw_num2;
  scanf("%d %d %d",&X,&Y,&Z);
  sw_num1=X;
  X=Y;
  Y=sw_num1;
  sw_num2=X;
  X=Z;
  Z=sw_num2;
  printf("%d %d %d\n",&X,&Y,&Z);
  return 0;
}