import java.util.Scanner;

public class Main {

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

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

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

	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
		int X=scan.nextInt();
		int Y=scan.nextInt();
		int Z=scan.nextInt();
		int temp=0;int s = 0;int n=0;
		n=X;
		s=Z;
		X=s;
		System.out.println(X);
		System.out.println(n);
		temp=Y;
		X=temp;
		System.out.println(X);
		}
} Main
import java.util.Scanner;

public class Main {

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