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();
	System.out.print(Z+" "+X+" "+Y);
    }
} 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();
	System.out.print(Z+" "+X+" "+Y);
    }
} 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();
	System.out.print(Z+" "+X+" "+Y);
    } main {
	Scanner sc = new Scanner(System.in);
	int X = sc.nextInt();
	int Y = sc.nextInt();
	int Z = sc.nextInt();
	System.out.print(Z+" "+X+" "+Y);
    } 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 System.out.print(Z+" "+X+" "+Y) System.out.print System.out System System.out Z+" "+X+" "+Y " " X Z+" "+X+" "+Y Z " " X " " Y 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();
	System.out.print(Z+" "+X+" "+Y);
    }
} 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();
	System.out.print(Z+" "+X+" "+Y);
    }
} 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();
	System.out.print(Z+" "+X+" "+Y);
    }
}
