#include <stdio.h>

int main(int argc, char const *argv[]) {
  int X, Y, Z;
  int memory;

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

  memory = X;
  X = Y;
  Y = memory;

  memory = X;
  X = Z;
  Z = memory;

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

  return 0;
}
