import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    }

} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    }

} Main public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    } main {
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int A = stdIn.nextInt(); A stdIn.nextInt() stdIn.nextInt stdIn int B = stdIn.nextInt(); B stdIn.nextInt() stdIn.nextInt stdIn int C = stdIn.nextInt(); C stdIn.nextInt() stdIn.nextInt stdIn int t; t t = A t A A = B A B B = t B t t = A t A A = C A C C = t C t System.out.print(A+" "+B+" "+C) System.out.print System.out System System.out A+" "+B+" "+C " " B A+" "+B+" "+C A " " B " " C String[] args args public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    }

} public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    }

} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        int A = stdIn.nextInt();
        int B = stdIn.nextInt();
        int C = stdIn.nextInt();
        
        int t;

        t = A;
        A = B;
        B = t;

        t = A;
        A = C;
        C = t;

        System.out.print(A+" "+B+" "+C);
       


    }

}