import java.util.Arrays;
import java.util.Scanner;

public class Main {
	
	static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	}
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	
	static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	}
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}

} Main static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	} swap {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	} int temp = array[a]; temp array[a] array a array[a] = array[b] array[a] array a array[b] array b array[b] = temp array[b] array b temp Integer[] array array int a a int  b b public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	} main {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer[] array = new Integer[3]; array new Integer[3] 3 for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			array[i] = new Integer(scanner.nextInt());
		} {
			array[i] = new Integer(scanner.nextInt());
		} array[i] = new Integer(scanner.nextInt()) array[i] array i new Integer(scanner.nextInt()) swap(array, 0, 1) swap array 0 1 swap(array, 0, 2) swap array 0 2 System.out.println(array[0] + " " + array[1] + " " + array[2]) System.out.println System.out System System.out array[0] + " " + array[1] + " " + array[2] " " array[1] array[0] + " " + array[1] + " " + array[2] array[0] array 0 " " array[1] array 1 " " array[2] array 2 String[] args args public class Main {
	
	static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	}
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}

} public class Main {
	
	static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	}
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}

} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	
	static void swap(Integer[] array, int a, int  b) {
		int temp = array[a];
		array[a] = array[b];
		array[b] = temp;
	}
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		Integer[] array = new Integer[3];
		
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scanner.nextInt());
		}
		
		swap(array, 0, 1);
		swap(array, 0, 2);
		
		
		System.out.println(array[0] + " " + array[1] + " " + array[2]);
	}

}
