#include <stdio.h>


int main (void) {
	int a, b, c, tmp;
	
	scanf("%d %d %d", &a, &b, &c);
	
	if ( a == b && b == c && a == c) {
		printf("%d %d %d\n", a, b, c);
	}
	else {
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c =tmp;
		
		printf("%d %d %d\n", a, b, c);
	}
}
