#include <stdio.h>

void swap(int * a, int * b) {
        int tmp;
        tmp = *b;
        *b = *a;
        *a = tmp;
}

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;
}