#include <stdio.h>

void swap( int *x, int *y ){
  int temp = 0;
  temp = *x;
  *x = *y;
  *y = temp;
}


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