import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {

	public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	}

} Main public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	} main {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String W = in.readLine(); W in.readLine() in.readLine in int A= Integer.parseInt(W.split(" ")[0]); A Integer.parseInt(W.split(" ")[0]) Integer.parseInt Integer W.split(" ")[0] W.split(" ") W.split W " " 0 int B= Integer.parseInt(W.split(" ")[1]); B Integer.parseInt(W.split(" ")[1]) Integer.parseInt Integer W.split(" ")[1] W.split(" ") W.split W " " 1 int C= Integer.parseInt(W.split(" ")[2]); C Integer.parseInt(W.split(" ")[2]) Integer.parseInt Integer W.split(" ")[2] W.split(" ") W.split W " " 2 System.out.println(C+" "+A+" "+ B) System.out.println System.out System System.out C+" "+A+" "+ B " " A C+" "+A+" "+ B C " " A " " B String[] args args public class Main {

	public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	}

} public class Main {

	public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {

	public static void main(String[] args) throws IOException {
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String W = in.readLine();

			int A= Integer.parseInt(W.split(" ")[0]);
			int B= Integer.parseInt(W.split(" ")[1]);
			int C= Integer.parseInt(W.split(" ")[2]);


         System.out.println(C+" "+A+" "+ B);
	}

}
