import java.util.Scanner;
public class Main{
   public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   }
}  
   import java.util.Scanner; Scanner java.util public class Main{
   public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   }
} Main public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   } main {
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int Z = sc.nextInt(); Z sc.nextInt() sc.nextInt sc int A ; A A=X A X X=Y X Y Y=A Y A int B; B B=X B X X=Z X Z Z=B Z B System.out.println(X+" "+Y+" "+Z) System.out.println System.out System System.out X+" "+Y+" "+Z " " Y X+" "+Y+" "+Z X " " Y " " Z String[] args args public class Main{
   public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   }
} public class Main{
   public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   }
} Main
import java.util.Scanner;
public class Main{
   public static void main(String[] args){
     Scanner sc = new Scanner(System.in);
     int X = sc.nextInt();
     int Y = sc.nextInt();
     int Z = sc.nextInt();
     
     int A ;
     A=X;
     X=Y;
     Y=A;
     
     int B;
     B=X;
     X=Z;
     Z=B;
     System.out.println(X+" "+Y+" "+Z);
    
   }
}  
  
