import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    }

    private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    }

    private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    }

    private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    }

    private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    } main {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] xyz = sc.nextLine().split(" "); xyz sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int x = Integer.parseInt(xyz[0]); x Integer.parseInt(xyz[0]) Integer.parseInt Integer xyz[0] xyz 0 int y = Integer.parseInt(xyz[1]); y Integer.parseInt(xyz[1]) Integer.parseInt Integer xyz[1] xyz 1 int z = Integer.parseInt(xyz[2]); z Integer.parseInt(xyz[2]) Integer.parseInt Integer xyz[2] xyz 2 System.out.println(problem161a(x, y, z)) System.out.println System.out System System.out problem161a(x, y, z) problem161a x y z String[] args args private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    } problem161a {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    } int[] array = {x, y, z}; array {x, y, z} x y z swap(array, 0, 1) swap array 0 1 swap(array, 0, 2) swap array 0 2 return array[0] + " " + array[1] + " " + array[2]; array[0] + " " + array[1] + " " + array[2] " " array[1] array[0] + " " + array[1] + " " + array[2] array[0] array 0 " " array[1] array 1 " " array[2] array 2 int x x int y y int z z private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    } swap {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    } int tmp = array[idx1]; tmp array[idx1] array idx1 array[idx1] = array[idx2] array[idx1] array idx1 array[idx2] array idx2 array[idx2] = tmp array[idx2] array idx2 tmp int[] array array int idx1 idx1 int idx2 idx2 public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    }

    private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    }

    private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    }

    private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    }

    private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] xyz = sc.nextLine().split(" ");
        int x = Integer.parseInt(xyz[0]);
        int y = Integer.parseInt(xyz[1]);
        int z = Integer.parseInt(xyz[2]);
        System.out.println(problem161a(x, y, z));
    }

    private static String problem161a(int x, int y, int z) {
        int[] array = {x, y, z};
        swap(array, 0, 1);
        swap(array, 0, 2);
        return array[0] + " " + array[1] + " " + array[2];
    }

    private static void swap(int[] array, int idx1, int idx2) {
        int tmp = array[idx1];
        array[idx1] = array[idx2];
        array[idx2] = tmp;
    }
}