import java.util.Scanner;

public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	}

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

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	}

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

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	} main {

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	} Scanner scan01 = new Scanner(System.in); scan01 new Scanner(System.in) int numbox[] = new int[3]; numbox new int[3] 3 for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			numbox[i] = scan01.nextInt();
		} {
			numbox[i] = scan01.nextInt();
		} numbox[i] = scan01.nextInt() numbox[i] numbox i scan01.nextInt() scan01.nextInt scan01 int num; num num = numbox[1] num numbox[1] numbox 1 numbox[1] = numbox[0] numbox[1] numbox 1 numbox[0] numbox 0 numbox[0] = numbox[2] numbox[0] numbox 0 numbox[2] numbox 2 numbox[2] = num numbox[2] numbox 2 num System.out.println(numbox[0]) System.out.println System.out System System.out numbox[0] numbox 0 System.out.println(numbox[1]) System.out.println System.out System System.out numbox[1] numbox 1 System.out.println(numbox[2]) System.out.println System.out System System.out numbox[2] numbox 2 scan01.close() scan01.close scan01 String[] args args public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	}

} public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);

		int numbox[] = new int[3];
		for(int i=0; i<3; i++){
			numbox[i] = scan01.nextInt();
		}

		int num;
		num = numbox[1];
		numbox[1] = numbox[0];
		numbox[0] = numbox[2];
		numbox[2] = num;

		System.out.println(numbox[0]);
		System.out.println(numbox[1]);
		System.out.println(numbox[2]);

		scan01.close();
	}

}