#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
#define max(a,b) (a)>(b)?(a):(b)
#define min(a,b) (a)<(b)?(a):(b)
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define MOD (int)1e9+7
int gcd(int x,int y){if(!y)return x;return gcd(y,x%y);}

int main(){
    int x,y,z;scanf("%d %d %d",&x,&y,&z);
    printf("%d %d %d\n",z,x,y);
}