import java.util.*;

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

public class Main{
    public static void main(String[]args){
     Scanner sc = new Scanner(System.in);
     int X=0;
     int Y=0;
     int Z=0; 
     X=sc.nextInt();
     Y=sc.nextInt();
     Z=sc.nextInt();
       System.out.print(Z+" ");
       System.out.print(X+" ");
       System.out.print(Y);
    }
}