import java.util.Scanner;

public class Main {

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




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

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		}
} Main public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		} main {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num[] = new int[3]; num new int[3] 3 for(int i =0;i< 3;i++) {
				num[i] = sc.nextInt();
			} int i =0; int i =0; i 0 i< 3 i 3 i++ i++ i {
				num[i] = sc.nextInt();
			} {
				num[i] = sc.nextInt();
			} num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc int num2[] = new int[3]; num2 new int[3] 3 num2[0] = num[2] num2[0] num2 0 num[2] num 2 num2[1] = num[0] num2[1] num2 1 num[0] num 0 num2[2] = num[1] num2[2] num2 2 num[1] num 1 for(int i =0;i<3;i++) {
				System.out.print(num2[i]+" ");
			} int i =0; int i =0; i 0 i<3 i 3 i++ i++ i {
				System.out.print(num2[i]+" ");
			} {
				System.out.print(num2[i]+" ");
			} System.out.print(num2[i]+" ") System.out.print System.out System System.out num2[i]+" " num2[i] num2 i " " String[] args args public class Main {

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		}
} public class Main {

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		}
} Main
import java.util.Scanner;

public class Main {

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);


			//配列に入力値代入
			//別の配列に代入

			//配列に格納
			int num[] = new int[3];

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

			int num2[] = new int[3];

			num2[0] = num[2];
			num2[1] = num[0];
			num2[2] = num[1];

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




		}
}

