import java.util.*;

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();

        int A = Y;
        int B = X;
        int C = A;
        A = Z;

        System.out.println(A + " " + B + " " + C);
    }
} import java.util.*; util.* java 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();

        int A = Y;
        int B = X;
        int C = A;
        A = Z;

        System.out.println(A + " " + B + " " + C);
    }
} 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();

        int A = Y;
        int B = X;
        int C = A;
        A = Z;

        System.out.println(A + " " + B + " " + C);
    } main {
        Scanner sc = new Scanner(System.in);

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

        int A = Y;
        int B = X;
        int C = A;
        A = Z;

        System.out.println(A + " " + B + " " + C);
    } 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 int A = Y; A Y int B = X; B X int C = A; C A A = Z A Z System.out.println(A + " " + B + " " + C) System.out.println System.out System System.out A + " " + B + " " + C " " B A + " " + B + " " + C A " " B " " C String[] args args
import java.util.*;

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();

        int A = Y;
        int B = X;
        int C = A;
        A = Z;

        System.out.println(A + " " + B + " " + C);
    }
}
