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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	} main {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int Z = sc.nextInt(); Z sc.nextInt() sc.nextInt sc int hako = 0; hako 0 hako = X hako X X = Y X Y Y = hako Y hako hako = X hako X X = Z X Z Z = hako Z hako System.out.println(X) System.out.println System.out System System.out X System.out.println(Y) System.out.println System.out System System.out Y System.out.println(Z) System.out.println System.out System System.out Z String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	}
} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		
		int hako = 0;
		
		hako = X;
		X = Y;
		Y = hako;
		
		hako = X;
		X = Z;
		Z = hako;
		
		System.out.println(X);
		System.out.println(Y);
		System.out.println(Z);
	}
}
