import java.util.Scanner;

public class Main{
    public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

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

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    }
} Main public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    } main {
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int C = sc.nextInt(); C sc.nextInt() sc.nextInt sc int D = 0; D 0 D = A D A A = C A C C = B C B B = D B D System.out.println(A + " " + B  + " " + C) System.out.println System.out System System.out A + " " + B  + " " + C " " B A + " " + B  + " " + C A " " B " " C String[] args args public class Main{
    public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    }
} public class Main{
    public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	int A = sc.nextInt();
	int B = sc.nextInt();
	int C = sc.nextInt();
	int D = 0;

	D = A;
	A = C;
	C = B;
	B = D;
	System.out.println(A + " " + B  + " " + C);
    }
}
