
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 w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

		System.out.print(X+" ");
		System.out.print(Y+" ");
		System.out.print(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();

		int w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

		System.out.print(X+" ");
		System.out.print(Y+" ");
		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 w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

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

		} main {

		Scanner sc = new Scanner(System.in);

		int  X = sc.nextInt();
		int  Y = sc.nextInt();
		int  Z = sc.nextInt();

		int w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

		System.out.print(X+" ");
		System.out.print(Y+" ");
		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 w = X; w X X= Y X Y Y = w Y w w = X w X X= Z X Z Z = w Z w System.out.print(X+" ") System.out.print System.out System System.out X+" " X " " System.out.print(Y+" ") System.out.print System.out System System.out Y+" " Y " " 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 w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

		System.out.print(X+" ");
		System.out.print(Y+" ");
		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 w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

		System.out.print(X+" ");
		System.out.print(Y+" ");
		System.out.print(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();

		int w = X;
		X= Y;
		Y = w;

		w = X;
		X= Z;
		Z = w;

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

		}
	}





