#include<stdio.h>

void Exchange(int *a, int *b);

int main(void){
	int A, B, C;
	scanf("%d %d %d", &A, &B, &C);
	
    Exchange(&A, &B);
    Exchange(&A, &C);
	
	printf("%d %d %d", A, B, C);
	return 0;
}

// 2つの数字を入れ替える
void Exchange(int *a, int *b){
	int box;
	box = *a;
	*a = *b;
	*b = box;
}