#include<stdio.h>
int main(void){
    int tmp,X,Y,Z;
    
    scanf("%d",&X);
    scanf("%d",&Y);
    scanf("%d",&Z);

    tmp=X;
    X=Y;
    Y=tmp;

    tmp=X;
    X=Z;
    Z=tmp;

    printf("%d %d %d\n",X,Y,Z);

    return 0;
}