#include <stdio.h>

int main() {

    int ABC[3];
    int swap[3];

scanf("%d %d %d", &ABC[0], &ABC[1], &ABC[2]);

    swap[0] = ABC[0];
    swap[1] = ABC[1];

    ABC[0] = swap[1];
    ABC[1] = swap[0];

    swap[0] = ABC[0];
    swap[1] = ABC[2];
    ABC[0] = swap[1];
    ABC[2] = swap[0];

printf("%d %d %d\n", ABC[0], ABC[1], ABC[2]);

return 0;

}