import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    } try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        } {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) 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 int swap = X; swap X X = Y X Y Y = swap Y swap swap = X swap X X = Z X Z Z = swap Z swap 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) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int X = sc.nextInt();
            int Y = sc.nextInt();
            int Z = sc.nextInt();

            int swap = X;
            X = Y;
            Y = swap;
            swap = X;
            X = Z;
            Z = swap;

            System.out.println(X + " " + Y + " " + Z);
        }
    }
}
