import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] X = new int[3]; X new int[3] 3 for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			X[i]  = sc.nextInt();

		} {
			X[i]  = sc.nextInt();

		} X[i]  = sc.nextInt() X[i] X i sc.nextInt() sc.nextInt sc int change = 0; change 0 change = X[0] change X[0] X 0 X[0] = X[1] X[0] X 0 X[1] X 1 X[1] =change X[1] X 1 change int change1= 0; change1 0 change1 = X[0] change1 X[0] X 0 X[0] = X[2] X[0] X 0 X[2] X 2 X[2] = change1 X[2] X 2 change1 for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		} int j = 0; int j = 0; j 0 j<3 j 3 j++ j++ j {
			System.out.print(X[j]+" ");
		} {
			System.out.print(X[j]+" ");
		} System.out.print(X[j]+" ") System.out.print System.out System System.out X[j]+" " X[j] X j " " sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		//配列3つ用意
		int[] X = new int[3];

		//3回繰り返す
		for(int i = 0; i < 3;i++) {
			X[i]  = sc.nextInt();

		}


		int change = 0;
		change = X[0];
		X[0] = X[1];
		X[1] =change;

		int change1= 0;
		change1 = X[0];
		X[0] = X[2];
		X[2] = change1;


		for(int j = 0; j<3;j++) {
			System.out.print(X[j]+" ");
		}


		sc.close();


	}

}
