#include <stdio.h>

void swap(int *x,int *y) {
	int tmp = *x;
	*x = *y;
	*y = tmp;
}
int main(void) {
	int x, y, z;
	scanf("%d", &x);
	scanf("%d", &y);
	scanf("%d", &z);
	swap(&x, &y);
	swap(&x, &z);

	printf("%d %d %d", x, y, z);
	return 0;
}