import java.util.Scanner;
public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	}

} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	} main {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int z = scan.nextInt(); z scan.nextInt() scan.nextInt scan int a = 0 a 0 b = 0 b 0 c = 0; c 0 a = y a y b = x b x c = a c a a = z a z System.out.println(a) System.out.println System.out System System.out a System.out.println(b) System.out.println System.out System System.out b System.out.println(c) System.out.println System.out System System.out c scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int x = scan.nextInt();
		int y = scan.nextInt();
		int z = scan.nextInt();

		int a = 0,b = 0,c = 0;

		a = y;
		b = x;

		c = a;
		a = z;


		System.out.println(a);
		System.out.println(b);
		System.out.println(c);

		scan.close();

	}

}
