
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	}

	private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	}

	private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	}
} Main public static void main(String[] args) {
		Main main = new Main();
		main.run();
	} main {
		Main main = new Main();
		main.run();
	} Main main = new Main(); main new Main() main.run() main.run main String[] args args public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	} run {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a[] = new int[3]; a new int[3] 3 a[0]=sc.nextInt() a[0] a 0 sc.nextInt() sc.nextInt sc a[1]=sc.nextInt() a[1] a 1 sc.nextInt() sc.nextInt sc a[2]=sc.nextInt() a[2] a 2 sc.nextInt() sc.nextInt sc swap(a,0,1) swap a 0 1 swap(a,0,2) swap a 0 2 System.out.println(a[0]+" "+a[1]+" "+a[2]) System.out.println System.out System System.out a[0]+" "+a[1]+" "+a[2] " " a[1] a[0]+" "+a[1]+" "+a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 sc.close() sc.close sc private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	} swap {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	} int tmp =a[i]; tmp a[i] a i a[i]=a[j] a[i] a i a[j] a j a[j]=tmp a[j] a j tmp int a[] a int i i int j j public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	}

	private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	}
} public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	}

	private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	}
} Main

import java.util.*;

public class Main {

	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int a[] = new int[3];
		a[0]=sc.nextInt();
		a[1]=sc.nextInt();
		a[2]=sc.nextInt();
		swap(a,0,1);
		swap(a,0,2);
		System.out.println(a[0]+" "+a[1]+" "+a[2]);
		sc.close();
	}

	private void swap(int a[], int i, int j) {
		int tmp =a[i];
		a[i]=a[j];
		a[j]=tmp;
	}
}
