#include <stdio.h>
#include<stdlib.h>
#include<string.h>

#define rep(i,n) for(int i=0;i<n;i++)

int main()
{
	int a, b, c;
	scanf("%d%d%d", &a, &b, &c);
	int temp = 0;
	temp = a;
	a = b;
	b = temp;
	int tnp = 0;
	tnp = a;
	a = c;
	c = tnp;
	printf("%d %d %d", a, b, c);
	
}
