import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        }


} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        }


} Main public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        } main {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        } int adder = 0; adder 0 int counter=0; counter 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int hako[] = new int[3]; hako new int[3] 3 for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            hako[i]=scan.nextInt();
        } {
            hako[i]=scan.nextInt();
        } hako[i]=scan.nextInt() hako[i] hako i scan.nextInt() scan.nextInt scan int hako1[]=new int[3]; hako1 new int[3] 3 hako1[0]=hako[1] hako1[0] hako1 0 hako[1] hako 1 hako1[1]=hako[0] hako1[1] hako1 1 hako[0] hako 0 hako1[2]=hako[2] hako1[2] hako1 2 hako[2] hako 2 int hako2[]=new int[3]; hako2 new int[3] 3 hako2[0]=hako1[2] hako2[0] hako2 0 hako1[2] hako1 2 hako2[1]=hako1[1] hako2[1] hako2 1 hako1[1] hako1 1 hako2[2]=hako1[0] hako2[2] hako2 2 hako1[0] hako1 0 System.out.print(hako2[0]+" ") System.out.print System.out System System.out hako2[0]+" " hako2[0] hako2 0 " " System.out.print(hako2[1]+" ") System.out.print System.out System System.out hako2[1]+" " hako2[1] hako2 1 " " System.out.print(hako2[2]+" ") System.out.print System.out System System.out hako2[2]+" " hako2[2] hako2 2 " " String[] args args public class Main {
    public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        }


} public class Main {
    public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        }


} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        int adder = 0;
        int counter=0;
        Scanner scan = new Scanner(System.in);

        int hako[] = new int[3];
        for (int i = 0; i < 3; i++) {
            hako[i]=scan.nextInt();
        }
        int hako1[]=new int[3];
        hako1[0]=hako[1];
        hako1[1]=hako[0];
        hako1[2]=hako[2];
        int hako2[]=new int[3];
        hako2[0]=hako1[2];
        hako2[1]=hako1[1];
        hako2[2]=hako1[0];
        System.out.print(hako2[0]+" ");
        System.out.print(hako2[1]+" ");
        System.out.print(hako2[2]+" ");
        }


}