
import java.util.*;
import java.io.*;

import static java.lang.Character.isUpperCase;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 }

    }


    




 import java.util.*; util.* java import java.io.*; io.* java import static java.lang.Character.isUpperCase; import static java.lang.Character.isUpperCase; import static java.lang.Character.isUpperCase; public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 }

    } Main public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 } main {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 } Scanner in = new Scanner(System.in); in new Scanner(System.in) int X =  in.nextInt(); X in.nextInt() in.nextInt in int Y =  in.nextInt(); Y in.nextInt() in.nextInt in int Z =  in.nextInt(); Z in.nextInt() in.nextInt in int t=0; t 0 t=X t X X=Y X Y Y=t Y t t=X t X X=Z X Z Z=t Z t System.out.println(X) System.out.println System.out System System.out X System.out.println(Y) System.out.println System.out System System.out Y System.out.println(Z) System.out.println System.out System System.out Z String[] args args public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 }

    } public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 }

    } Main

import java.util.*;
import java.io.*;

import static java.lang.Character.isUpperCase;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        int X =  in.nextInt();
        int Y =  in.nextInt();
        int Z =  in.nextInt();


        int t=0;

        t=X;
        X=Y;
        Y=t;
        t=X;
        X=Z;
        Z=t;
        System.out.println(X);
        System.out.println(Y);
        System.out.println(Z);

 }

    }


    





