#include <stdio.h>
#include <stdlib.h>

void swap(int *a,int *b){
  int c;
  c=*a;
  *a=*b;
  *b=c;
}

int main(void){
  int x,y,z;

  if(scanf("%d %d %d",&x,&y,&z) != 3){
    printf("****SCANF ERROR****\n");
    exit(1);
  }
  swap(&x,&y);
  swap(&x,&z);
  printf("%d %d %d",x,y,z);
  
  return 0;
}