#include <stdio.h>

int main()
{
  int x, y, z; //a, b, c
  int tmp;
  
  scanf("%d %d %d", &x, &y, &z);
  
  tmp = x;
  x = y;
  y = tmp;
  
  tmp = x;
  x = z;
  z = tmp;
  
  printf("%d %d %d", x, y, z);
  
  return 0;
}