import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

    public static void main(String[] args) throws Exception {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    }

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util public class Main {

    public static void main(String[] args) throws Exception {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    }

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

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    } main {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    } InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader reader = new BufferedReader(is); reader new BufferedReader(is) List<String> mylist = new ArrayList<>(); mylist new ArrayList<>() String strinput = reader.readLine(); strinput reader.readLine() reader.readLine reader while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        } strinput != null strinput null {

            mylist.add(strinput);
            strinput = reader.readLine();

        } mylist.add(strinput) mylist.add mylist strinput strinput = reader.readLine() strinput reader.readLine() reader.readLine reader String arr01[] = mylist.get(0).split(" "); arr01 mylist.get(0).split(" ") mylist.get(0).split mylist.get(0) mylist.get mylist 0 " " int x = Integer.valueOf(arr01[0]); x Integer.valueOf(arr01[0]) Integer.valueOf Integer arr01[0] arr01 0 int y = Integer.valueOf(arr01[1]); y Integer.valueOf(arr01[1]) Integer.valueOf Integer arr01[1] arr01 1 int z = Integer.valueOf(arr01[2]); z Integer.valueOf(arr01[2]) Integer.valueOf Integer arr01[2] arr01 2 int temp = x; temp x x = y x y y = temp y temp temp = x temp x x = z x z z = temp z temp System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z String[] args args public class Main {

    public static void main(String[] args) throws Exception {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    }

} public class Main {

    public static void main(String[] args) throws Exception {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    }

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

    public static void main(String[] args) throws Exception {

        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader reader = new BufferedReader(is);

        List<String> mylist = new ArrayList<>();

        // 標準入力からの値を変数strinputに代入
        String strinput = reader.readLine();

        while (strinput != null) {

            mylist.add(strinput);
            strinput = reader.readLine();

        }

        String arr01[] = mylist.get(0).split(" ");

        int x = Integer.valueOf(arr01[0]);
        int y = Integer.valueOf(arr01[1]);
        int z = Integer.valueOf(arr01[2]);

        int temp = x;
        x = y;
        y = temp;

        temp = x;
        x = z;
        z = temp;

        System.out.println(x + " " + y + " " + z);

    }

}