import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    }
} Main public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    } main {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int X = stdIn.nextInt(); X stdIn.nextInt() stdIn.nextInt stdIn int Y = stdIn.nextInt(); Y stdIn.nextInt() stdIn.nextInt stdIn int Z = stdIn.nextInt(); Z stdIn.nextInt() stdIn.nextInt stdIn stdIn.close() stdIn.close stdIn int A = 0; A 0 int B = 0; B 0 A = X A X X = Y X Y Y = A Y A B = X B X X = Z X Z Z = B Z B System.out.printf("%d %d %d", X, Y, Z) System.out.printf System.out System System.out "%d %d %d" X Y Z String[] args args public class Main {

    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int X = stdIn.nextInt();
        int Y = stdIn.nextInt();
        int Z = stdIn.nextInt();
        stdIn.close();

        int A = 0;
        int B = 0;

        A = X;
        X = Y;
        Y = A;

        B = X;
        X = Z;
        Z = B;

        System.out.printf("%d %d %d", X, Y, Z);
    }
}