#include <stdio.h>

int main(void){
    int x, y, z, tmp;
    scanf("%d %d %d", &x, &y, &z);

    //xとyをswap
    tmp = x;
    x = y;
    y = tmp;

    //xとzをswap
    tmp = x;
    x = z;
    z = tmp;

    printf("%d %d %d", x, y, z);
    return 0;
}