#include <stdio.h>

void swap(int* a, int* b) {
  int temp = 0;
  
  temp = *a;
  *a = *b;
  *b = temp;
}

int main(){
  int a, b, c = 0;
  
  scanf("%d %d %d", &a, &b, &c);
  
  swap(&a, &b);
  swap(&a, &c);
  
  printf("%d %d %d", a, b, c);
}