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