import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		int[] array = new int[3];
		Scanner input = new Scanner(System.in);
		array[0] = input.nextInt();
		array[1] = input.nextInt();
		array[2] = input.nextInt();
		int num = 0;
		num = array[2];
		array[2] = array[1];
		array[1] = array[0];
		array[0] = num;
		
		for(int i =0;i < array.length; i++) {
			System.out.print(array[i] + " ");	
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

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

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

	public static void main(String[] args) {
		int[] array = new int[3];
		Scanner input = new Scanner(System.in);
		array[0] = input.nextInt();
		array[1] = input.nextInt();
		array[2] = input.nextInt();
		int num = 0;
		num = array[2];
		array[2] = array[1];
		array[1] = array[0];
		array[0] = num;
		
		for(int i =0;i < array.length; i++) {
			System.out.print(array[i] + " ");	
		}
	}
} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		int[] array = new int[3];
		Scanner input = new Scanner(System.in);
		array[0] = input.nextInt();
		array[1] = input.nextInt();
		array[2] = input.nextInt();
		int num = 0;
		num = array[2];
		array[2] = array[1];
		array[1] = array[0];
		array[0] = num;
		
		for(int i =0;i < array.length; i++) {
			System.out.print(array[i] + " ");	
		}
	}
}