#include <stdio.h>

int main (void){

    int X,Y,Z;
    int s;
    int safe;

    while(1){
        printf("insert X Y Z  by int/n");
        s=scanf("%d %d %d",&X,&Y,&Z);
        
        if(0<X&&X<101&&0<Y&&Y<101&&0<Z&&Z<101){
            break;
        }
    }
   
    
    printf("%d %d %d",Z,X,Y);


    return 0;
}