#include <stdio.h>

int main()
{
  int box[4], keep, keep_2;

  for(int i = 0; i < 3; i++){
    scanf("%d", &box[i]);
  }
  keep = box[0];
  keep_2 = box[1];
  box[0] = box[2];
  box[1] = keep;
  box[2] = keep_2;

  for(int i = 0; i < 3; i++){
    printf("%d ", box[i]);
  }


  return 0;
}