#include <stdio.h>

int main(void)
{
  char buf[1000];
  int x, y, z, tmp;

  fgets(buf, sizeof(buf), stdin);
  sscanf(buf, "%d %d %d\n", &x, &y, &z);

  tmp = x;
  x = y;
  y = tmp;

  tmp = x;
  x = z;
  z = tmp;

  printf("%d %d %d\n", x, y, z);
}