
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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	}

} 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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	}

} 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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);
		int X = scan.nextInt();
		int Y = scan.nextInt();
		int Z = scan.nextInt();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	} 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 int temp = X; temp X X = Y X Y Y = temp Y temp temp = X temp X X = Z X Z Z = temp Z temp System.out.print(X + " " + Y + " " + Z) System.out.print System.out System System.out X + " " + Y + " " + Z " " Y X + " " + Y + " " + Z X " " Y " " Z scan.close() scan.close scan 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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	}

} 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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	}

} 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();


		int temp = X;
		X = Y;
		Y = temp;

	    temp = X;
		X = Z;
		Z = temp;


		System.out.print(X + " " + Y + " " + Z);
		scan.close();

	}

}
