#include<stdio.h>

int main(void)
{
  int X,Y,Z;
  int tmp;
  
  scanf("%d %d %d", &X, &Y, &Z);
  
  tmp = X;
  X = Y;
  Y = X;
  
  tmp = X;
  X = Z;
  Z = X;
  
  printf("%d %d %d\n", X, Y, Z);
  
  return 0;
}