
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

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

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

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

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

		System.out.println(A + " " + B + " " + C);
	} main {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

		System.out.println(A + " " + B + " " + C);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] lines = line.split(" "); lines line.split(" ") line.split line " " int A = Integer.parseInt(lines[0]); A Integer.parseInt(lines[0]) Integer.parseInt Integer lines[0] lines 0 int B = Integer.parseInt(lines[1]); B Integer.parseInt(lines[1]) Integer.parseInt Integer lines[1] lines 1 int C = Integer.parseInt(lines[2]); C Integer.parseInt(lines[2]) Integer.parseInt Integer lines[2] lines 2 int swap = A; swap A A = C A C C = B C B B = swap B swap System.out.println(A + " " + B + " " + C) System.out.println System.out System System.out A + " " + B + " " + C " " B A + " " + B + " " + C A " " B " " C String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

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

} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

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

} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		String line = sc.nextLine();
		String[] lines = line.split(" ");

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

		int swap = A;
		A = C;
		C = B;
		B = swap;

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

}
