import 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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(Z);
		
	}
} import java.util.*; util.* java 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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(Z);
		
	} main {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();

		int x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(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 x = X; x X int y = Y; y Y int z = Z; z Z X = y X y Y = x Y x X = z X z Z = y Z y System.out.print(X) System.out.print System.out System System.out X System.out.print(" ") System.out.print System.out System System.out " " System.out.print(Y) System.out.print System.out System System.out Y System.out.print(" ") System.out.print System.out System System.out " " System.out.print(Z) System.out.print 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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(Z);
		
	}
} Main
import 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 x = X;
		int y = Y;
		int z = Z;

		X = y;
		Y = x;
		X = z;
		Z = y;

		System.out.print(X);
		System.out.print(" ");
		System.out.print(Y);
		System.out.print(" ");
		System.out.print(Z);
		
	}
}