import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	} main {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int z = scan.nextInt(); z scan.nextInt() scan.nextInt scan 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 scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		System.out.print(z + " ");
		System.out.print(x + " ");
		System.out.print(y);

	}
}
