import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	} main {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	} Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int X X Y Y Z; Z X = cin.nextInt() X cin.nextInt() cin.nextInt cin Y = cin.nextInt() Y cin.nextInt() cin.nextInt cin Z = cin.nextInt() Z cin.nextInt() cin.nextInt cin System.out.printf("%d %d %d",Z,X,Y) System.out.printf System.out System System.out "%d %d %d" Z X Y String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	}

} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		
		int X,Y,Z;
		
		X = cin.nextInt();
		Y = cin.nextInt();
		Z = cin.nextInt();
		
		System.out.printf("%d %d %d",Z,X,Y);

	}

}
