import java.util.Scanner;

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

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

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    } main {
        Scanner scan = new Scanner(System.in);

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int X = Integer.parseInt(scan.next()); X Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int Y = Integer.parseInt(scan.next()); Y Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan int Z = Integer.parseInt(scan.next()); Z Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan System.out.println(Z + " " + X + " " + Y) System.out.println System.out System System.out Z + " " + X + " " + Y " " X Z + " " + X + " " + Y Z " " X " " Y scan.close() scan.close scan String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    }
} Main
import java.util.Scanner;

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

        int X = Integer.parseInt(scan.next());
        int Y = Integer.parseInt(scan.next());
        int Z = Integer.parseInt(scan.next());
        
        System.out.println(Z + " " + X + " " + Y);
        scan.close();
    }
}