#include<stdio.h>
int main(void){
  int a,b,c,x,y,z;
  scanf("%d%d%d",&a,&b,&c);
  x=a;
  y=b;
  z=c;
  
  a=y;
  b=x;
  
  x=a;
  y=b;
  
  a=z;
  c=x;
  
  printf("%d %d %d",&a,&b,&c);
  return 0;
}