#include<stdio.h>                                                 
                                                                  
int main(void){                                                   
   int A,B,C;                                                     
   scanf("%d %d %d",&A,&B,&C);                                    
                                                                  
   int tmp = A;                                                   
   A = B;                                                         
   B = tmp;                                                       
                                                                  
   int tmp2 = A;                                                  
   A = C;                                                         
   C = tmp2;                                                      
                                                                  
   printf("%d %d %d",A,B,C);                                      
   return 0;                                                      
} 