#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
#define LINE_BUF_SIZE  1024

int main(void) {
  
  int i;
  int number[3];
  int temp;

  scanf("%d %d %d",&number[0],&number[1],&number[2]);
  for(i = 0; i <= 1; i++){
      temp = number[0];
      number[0] = number[i + 1];
      number[i + 1] = temp;
  }
  for(i = 0; i < 3; i++){
      printf("%d ",number[i]);
  }
  
  return 0;
}