#include<stdio.h>

void change(int *a, int *b)[
  int c;
  c=*a;
  *a=*b;
  *b=*a;
  }

int main(void){
  int a,b,c;
  scanf("%d %d %d",&a,&b,&c);
  change(a,b);
  change(a,c);
  printf("%d %d %d\n",a,b,c);
  return 0;
}
