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.println(Z + " " + X + " " + 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.println(Z + " " + X + " " + 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.println(Z + " " + X + " " + Y);
	} main {

		Scanner scan = new Scanner(System.in);

		int X = scan.nextInt();
		int Y = scan.nextInt();
		int Z = scan.nextInt();

		System.out.println(Z + " " + X + " " + 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.println(Z + " " + X + " " + Y) System.out.println 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 scan = new Scanner(System.in);

		int X = scan.nextInt();
		int Y = scan.nextInt();
		int Z = scan.nextInt();

		System.out.println(Z + " " + X + " " + 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.println(Z + " " + X + " " + 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.println(Z + " " + X + " " + Y);
	}

}