import java.util.Scanner;

public class Main {

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	}

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

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	}

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	} main {
		Scanner sc = new Scanner(System.in);

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int C = sc.nextInt(); C sc.nextInt() sc.nextInt sc int a = A; a A A = B A B B = a B a int c = C; c C C = A C A A = c A c System.out.print(A + " ") System.out.print System.out System System.out A + " " A " " System.out.print(B + " ") System.out.print System.out System System.out B + " " B " " System.out.print(C) System.out.print System.out System System.out C String[] args args public class Main {

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	}

} public class Main {

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	}

} Main
import java.util.Scanner;

public class Main {

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

		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int a = A;
		A = B;
		B = a;

		int c = C;
		C = A;
		A = c;
		System.out.print(A + " ");
		System.out.print(B + " ");
		System.out.print(C);

	}

}
