#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
//#include <stdbool.h>
//#include <limits.h>
//#include <math.h>

int main() {
  int x, y ,z;
  scanf("%d%d%d", &x, &y, &z);
  printf("%d %d %d\n", z, x, y);
  return 0;
}
