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


int main(){

  int x,y,z;
  int x2,y2,z2;
  int x3,y3,z3;

  scanf("%d %d %d",&x,&y,&z);

  x2 = y;
  y2 = x;
  z2 = z;
 
  x3 = z2;
  y3 = y2;
  z3 = x2;

  printf("%d %d %d",x3,y3,z3);

  return(0);

}
