#include <stdio.h>
#include <stdlib.h>
void swap(int *x, int *y){
    int tmp;
    tmp = *x;
    *x = *y;
    *y = tmp;
}
int main(){
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    swap(&a, &b);
    swap(&a, &c);
    printf("%d %d %d", a, b, c);
    return 0;
}