import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int i = 0; i 0 int j = 0; j 0 i = x i x j = y j y x = y x y y = i y i x = z x z z = j z j System.out.println(x) System.out.println System.out System System.out x System.out.println(y) System.out.println System.out System System.out y System.out.println(z) System.out.println System.out System System.out z sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		int i = 0; //いったん保持する箱
		int j = 0; //いったん保持する箱

		i = x; //xをいれる i 1 x 1
		j = y; //zをいれる　j2
		x = y; // x 2 y2 223
		y = i; // x2 y1 z3 213　AB
		x = z; // x 3 y1 z3
		z = j; // x 3 y1 z1
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		sc.close();
	}
}
