#include<stdio.h>
int main() {
    int x, y, z, tmp;
    scanf("%d %d %d", &x, &y, &z);
    
    tmp = x;
    x = y;
    y = tmp;
    
    tmp = x;
    x = z;
    z = tmp;
    
    printf("%d %d %d\n",x , y, z);
    return 0;
}
