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 free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

		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);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

		System.out.println(A + " " + B + " " +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 free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

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

		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

		System.out.println(A + " " + B + " " +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 free = 0; free 0 int freeB = 0; freeB 0 free = A free A A = B A B B = free B free freeB = A freeB A A = C A C C = freeB C freeB 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);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

		System.out.println(A + " " + B + " " +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 free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

		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);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();

		int free = 0;
		int freeB = 0;

	    free = A;
		A = B;
		B = free;
		freeB = A;
		A = C;
		C = freeB;

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