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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	}
} 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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	}
} 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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	} main {
		Scanner scan = new Scanner(System.in);
		int x= scan.nextInt();
		int y= scan.nextInt();
		int z= scan.nextInt();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	} 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 scan.close() scan.close scan System.out.print(z+" "+x+" "+y) System.out.print System.out System System.out z+" "+x+" "+y " " x z+" "+x+" "+y z " " x " " y 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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	}
} 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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	}
} 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();
		scan.close();
		System.out.print(z+" "+x+" "+y);
	}
}
