import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    }
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    }
} Main public static void main(String[] args){
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    } main {
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int X = in.nextInt(); X in.nextInt() in.nextInt in int Y = in.nextInt(); Y in.nextInt() in.nextInt in int Z = in.nextInt(); Z in.nextInt() in.nextInt in int T = 0; T 0 T = X T X X = Y X Y Y = T Y T T = X T X X = Z X Z Z = T Z T 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 in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    }
} public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    }
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);    
		int X = in.nextInt();
		int Y = in.nextInt();
		int Z = in.nextInt();  
		int T = 0;
		T = X;
		X = Y;
		Y = T;
		T = X;
		X = Z;
        Z = T;
		System.out.println(X+" "+Y+" "+Z);
    }
}
