#include<stdio.h>

int main(){
  int x,y,z;
  int *px = &x,*py = &y,*pz = &z;
  int temp;
  scanf("%d""%d""%d",&x,&y,&z);
  temp = *px;
  *px = *py;
  *py = temp;

  int temp2;
  temp2 = *px;
  *px = *pz;
  *pz = temp2;

  printf("%d""%d""%d\n",*px,*py,*pz);
  return 0;

}