// ABC 161-A
// 2020.4.4 bal4u

#include <stdio.h>

int main()
{
	int A, B, C, t;

	scanf("%d%d%d", &A, &B, &C);
	t = A, A = B, B = t;
	t = A, A = C, C = t;
	printf("%d %d %d\n", A, B, C);
	return 0;
}