import java.io.*;

public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    }
} import java.io.*; io.* java public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    }
} Main public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    } main {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    } BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in)); reader new BufferedReader (new InputStreamReader (System.in)) String[] arr = reader.readLine().split (" "); arr reader.readLine().split (" ") reader.readLine().split reader.readLine() reader.readLine reader " " int X X Y Y Z; Z X = Integer.parseInt (arr[0]) X Integer.parseInt (arr[0]) Integer.parseInt Integer arr[0] arr 0 Y = Integer.parseInt (arr[1]) Y Integer.parseInt (arr[1]) Integer.parseInt Integer arr[1] arr 1 Z = Integer.parseInt (arr[2]) Z Integer.parseInt (arr[2]) Integer.parseInt Integer arr[2] arr 2 System.out.println (Z + " " + X + " " + Y) System.out.println System.out System System.out Z + " " + X + " " + Y " " X Z + " " + X + " " + Y Z " " X " " Y String[] args args public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    }
} public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    }
} Main
import java.io.*;

public class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader reader =
            new BufferedReader (new InputStreamReader (System.in));
        String[] arr = reader.readLine().split (" ");
        int X, Y, Z;
        X = Integer.parseInt (arr[0]);
        Y = Integer.parseInt (arr[1]);
        Z = Integer.parseInt (arr[2]);
        System.out.println (Z + " " + X + " " + Y);
    }
}