#include <stdio.h>

int main(void){

    int X = 0;
    int Y = 0;
    int Z = 0;
    int tmp = 0;

    scanf("%d %d %d", &X, &Y, &Z);

    tmp = X;
    X = Y;
    Y = tmp;
    tmp = X;
    X = Z;
    Z = tmp;
    printf("%d %d %d", X, Y, Z);

    return 0;
}