#include <stdio.h>

int main(void){
    int A,B,C,X,Y,Z,tmp;
    
    scanf("%d",&X);
    scanf("%d",&Y);
    scanf("%d",&Z);
    
    A=X; B=Y; C=Z;
    
    tmp=A;
    A=B;
    B=tmp;
    
    tmp=A;
    A=C;
    C=tmp;
    
    printf("%d %d %d\n",A,B,C);
    
    return 0;
}