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

int main()
{
  int x,y,z;
  scanf("%d%d%d",&x,&y,&z);
  
  int tmp1,tmp2;
  
  tmp1=x;
  x=y;
  y=tmp1;
  
  tmp2=x;
  x=z;
  z=tmp2;
  
  printf("%d %d %d\n",x,y,z);
 
  return 0;
}