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

int main(void) {
	int x, y, z;
	char buf[64], *ch;

	fgets(buf, sizeof(buf), stdin);
	ch = strtok(buf, " ");
	x = atoi(ch);
	ch = strtok(NULL, " ");
	y = atoi(ch);
	ch = strtok(NULL, " ");
	z = atoi(ch);

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