import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    }

    static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    }

    static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int Z = sc.nextInt(); Z sc.nextInt() sc.nextInt sc System.out.println(solve(X, Y, Z)) System.out.println System.out System System.out solve(X, Y, Z) solve X Y Z sc.close() sc.close sc String[] args args static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    } solve {
        return String.format("%d %d %d", Z, X, Y);
    } return String.format("%d %d %d", Z, X, Y); String.format("%d %d %d", Z, X, Y) String.format String "%d %d %d" Z X Y int X X int Y Y int Z Z public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    }

    static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    }

    static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int X = sc.nextInt();
        int Y = sc.nextInt();
        int Z = sc.nextInt();

        System.out.println(solve(X, Y, Z));

        sc.close();
    }

    static String solve(int X, int Y, int Z) {
        return String.format("%d %d %d", Z, X, Y);
    }
}