#include<stdio.h>
int main()
{
    int X,Y,Z,temp,temp2;
     scanf("%d%d%d",&X,&Y,&Z);
    temp=X;
    X=Y;
    Y=temp;
    temp2=X;
    X=Z;
    Z=temp2;
    printf("%d %d %d\n",X,Y,Z);

    return 0;
}


