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

}