#include <stdio.h>

  void swap(int *x, int *y);


int main(void){
  int X,Y,Z;
  
  scanf("%d %d %d", &X, &Y, &Z);
  swap(&X, &Y);
  swap(&X, &Z);

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

  return 0;

}


void swap(int *x, int *y){
  int temp;
  temp = *x;
  *x = *y;
  *y = temp;
  return 0;
}

