#include<stdio.h>

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

int main(){
	int x, y, z;
	scanf("%d %d %d", &x, &y, &z);
	swap(&x, &y);
	swap(&x, &z);
	printf("%d %d %d\n", x, y, z);
	return 0;
}