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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	}
} 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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	}
} 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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	} main {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		int A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	} 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 A A B B C = 0; C 0 A = X A X B = Y B Y C = Z C Z B = A B A A = Y A Y C = A C A A = Z A Z System.out.println(A + " " + B + " " + C) System.out.println System.out System System.out A + " " + B + " " + C " " B A + " " + B + " " + C A " " B " " C 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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	}
} 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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	}
} 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 A, B ,C = 0;
		A = X;
		B = Y;
		C = Z;
		
		B = A;
		A = Y;
		C = A;
		A = Z;
		System.out.println(A + " " + B + " " + C);
	}
}