//https://atcoder.jp/contests/abc161/tasks/abc161_a

import java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    }


}

 import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    }


} Main public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    } main {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    } Scanner in = new Scanner(System.in); in new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int x = in.nextInt(); x in.nextInt() in.nextInt in int y = in.nextInt(); y in.nextInt() in.nextInt in int z = in.nextInt(); z in.nextInt() in.nextInt in int temp1 = x; temp1 x x = y x y y =temp1 y temp1 int temp2 = x; temp2 x x = z x z z = temp2 z temp2 out.println(x + " " + y + " " + z) out.println out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z out.close() out.close out String[] args args public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    }


} public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    }


} Main
//https://atcoder.jp/contests/abc161/tasks/abc161_a

import java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here

        Scanner in = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);


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

        int temp1 = x;
        x = y; y =temp1;

        int temp2 = x;
        x = z; z = temp2;
        out.println(x + " " + y + " " + z);
        out.close();

    }


}


