#include <stdio.h>
int main(void){
    // Your code here!
    int x,y,z,k;
    scanf("%d%d%d",&x,&y,&z);
    k=y;
    y=x;
    x=k;
    k=z;
    z=x;
    x=k;
    printf("%d %d %d\n",x,y,z);
    return 0;
    
}