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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + Z);
	}
} 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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + 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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + Z);
	} main {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + 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 sc.close() sc.close sc int s; s int k; k s = X s X X = Y X Y Y = s Y s k = X k X X = Z X Z Z = k Z k System.out.println(X + " " + Y + " " + Z) System.out.println System.out System System.out X + " " + Y + " " + Z " " Y X + " " + Y + " " + Z X " " Y " " 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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + 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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + Z);
	}
} Main
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();
		sc.close();
		int s;
		int k;
		s = X;
		X = Y;
		Y = s;
		k = X;
		X = Z;
		Z = k;
		System.out.println(X + " " + Y + " " + Z);
	}
}