#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#define rep(i,n) for(int i=0; i<n; i++)
typedef long long ll;
const ll mod=1e9+7;

int main(){
	ll A,B,C,tmp,ans;

	scanf("%lld%lld%lld",&A,&B,&C);
	tmp=A; A=B; B=tmp; //A,B入れ替え
	tmp=A; A=C; C=tmp; //A,C入れ替え

	printf("%lld %lld %lld",A,B,C);

	return 0;
}