#include<stdio.h>
int swap(int *A,int *B,int *C){
    int p1,p2;
    p1 = *A;
    *A = *B;
    *B = p1;
    p2 = *A;
    *A = *C;
    *C = p2;
    return 0;
}
int main(){
    int A,B,C;
    scanf("%d %d %d",&A,&B,&C);
    swap(&A,&B,&C);
    printf("%d %d %d\n",A,B,C);
    return 0;
}