import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	}

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

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	}

} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	} main {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int x = s.nextInt(); x s.nextInt() s.nextInt s int y = s.nextInt(); y s.nextInt() s.nextInt s int z = s.nextInt(); z s.nextInt() s.nextInt s int w; w w = z w z z = y z y y = x y x x = w x w System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z s.close() s.close s String[] args args public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	}

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

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		int y = s.nextInt();
		int z = s.nextInt();
		int w;

		w = z;
		z = y;
		y = x;
		x = w;

		System.out.println(x + " " + y + " " + z);

		s.close();

	}

}
