#include<stdio.h>
#include<stdlib.h>
#define gc() getchar()
typedef unsigned long long ull;
int in() {   // 非負整数の入力
	int n = 0; int c;
	c = gc();
	do n = 10 * n + (c & 0xf); while ((c = gc()) >= '0');
	return n;
}
int comp(const void* a, const void* b)//用来做比较的函数。
{
	return *(int*)a - *(int*)b;
}
int main()
{
	int a, b, c;
	a = in(), b = in(), c = in();
	printf("%d %d %d", c, a, b);
}