#include <stdio.h>

int main() {
        int x, y, z;

        if(scanf("%3d %3d %3d", &x, &y, &z) == 0) {
                perror("scanf");
                return 1;
        }

        printf("%d %d %d\n", z, x, y);

        return 0;
}
