#include <stdio.h>

#define swap(a,b) do{int tmp_in_swap_macro = a; a = b; b = tmp_in_swap_macro;}while(0)

int main(void)
{
  int X, Y, Z;
  scanf("%d%d%d", &X, &Y, &Z);
  
  swap(X, Y);
  swap(X, Z);
  
  printf("%d %d %d\n",X, Y, Z);
  
  return 0;
}