#include <stdio.h>
#include <stdlib.h>

int main(){

    int A, B, C, X, Y, Z;

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

    A=Y;
    B=X;
    C=Z;
    A=Z;
    C=Y;

    printf("%d %d %d", A, B,C);

    return 0;
}
