#include<stdio.h>

void swap(int *x, int *y){
    int z;
    z = *x;
    *x = *y;
    *y = z;
}

int main(void){
    int X, Y, Z;
    scanf("%d %d %d",&X, &Y, &Z);

    swap(&X, &Y);
    swap(&X, &Z);

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