#include <stdio.h>
int main(void) {
  int X;
  int Y;
  int Z;

  int tmp;

  scanf("%d", &X);
  scanf("%d", &Y);
  scanf("%d", &Z);
  tmp = X;
  X = Y;
  Y = tmp;

  tmp = X;
  X = Z;
  Z = tmp;

  printf("%d %d %d\n", X, Y, Z);
  return 0;
}