import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





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

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





     }
} Main public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





     } main {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





     } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a =sc.nextInt(); a sc.nextInt() sc.nextInt sc int b =sc.nextInt(); b sc.nextInt() sc.nextInt sc int c =sc.nextInt(); c sc.nextInt() sc.nextInt sc int temp=0; temp 0 int[] arr={a,b,c}; arr {a,b,c} a b c temp=arr[1] temp arr[1] arr 1 arr[1]=a arr[1] arr 1 a arr[0]=temp arr[0] arr 0 temp temp=arr[2] temp arr[2] arr 2 arr[2]=arr[0] arr[2] arr 2 arr[0] arr 0 arr[0]=c arr[0] arr 0 c arr[0]=temp arr[0] arr 0 temp for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        } int i = 0; int i = 0; i 0 i <arr.length i arr.length arr arr.length i++ i++ i {
            System.out.print(arr[i]+" ");

        } {
            System.out.print(arr[i]+" ");

        } System.out.print(arr[i]+" ") System.out.print System.out System System.out arr[i]+" " arr[i] arr i " " String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





     }
} public class Main {

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





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

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();
        int c =sc.nextInt();
        int temp=0;
        int[] arr={a,b,c};
        temp=arr[1];
        arr[1]=a;
        arr[0]=temp;
        temp=arr[2];
        arr[2]=arr[0];
        arr[0]=c;
        arr[0]=temp;
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }





     }
}
