#include<stdio.h>

void swap(int *x, int *y)
{
        int tmp;

        tmp = *x;
        *x = *y;
        *y = tmp;
}
int main(void){
  int a,b,c;
  scanf("%d %d %d",&a,&b,&c);
  swap(&a,&b);
  swap(&a,&c);
  printf("%d %d %d\n",a,b,c);
  return 0;
}