#include <stdio.h>
 
int main(void){
  int x,y,z;
  int temp1,temp2;
  scanf("%d%d%d",&x,&y,&z);
  temp1 = x;
  x = y;
  y= temp1;
  
  temp2 = x;
  x = z;
  z = temp2;
  printf("%d %d %d",x,y,z);
  
  return 0;
}