import java.util.*;
class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        //箱A,B,Cに入る整数
        int boxA = scn.nextInt();
        int boxB = scn.nextInt();
        int boxC = scn.nextInt();
        int boxCopy = boxA;
        boxA = boxB;
        boxB = boxCopy;
        boxCopy = boxA;
        boxA = boxC;
        boxC = boxCopy;
        System.out.println(boxA +" " + boxB + " " + boxC);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        //箱A,B,Cに入る整数
        int boxA = scn.nextInt();
        int boxB = scn.nextInt();
        int boxC = scn.nextInt();
        int boxCopy = boxA;
        boxA = boxB;
        boxB = boxCopy;
        boxCopy = boxA;
        boxA = boxC;
        boxC = boxCopy;
        System.out.println(boxA +" " + boxB + " " + boxC);
    }
} Main public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        //箱A,B,Cに入る整数
        int boxA = scn.nextInt();
        int boxB = scn.nextInt();
        int boxC = scn.nextInt();
        int boxCopy = boxA;
        boxA = boxB;
        boxB = boxCopy;
        boxCopy = boxA;
        boxA = boxC;
        boxC = boxCopy;
        System.out.println(boxA +" " + boxB + " " + boxC);
    } main {
        Scanner scn = new Scanner(System.in);
        //箱A,B,Cに入る整数
        int boxA = scn.nextInt();
        int boxB = scn.nextInt();
        int boxC = scn.nextInt();
        int boxCopy = boxA;
        boxA = boxB;
        boxB = boxCopy;
        boxCopy = boxA;
        boxA = boxC;
        boxC = boxCopy;
        System.out.println(boxA +" " + boxB + " " + boxC);
    } Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int boxA = scn.nextInt(); boxA scn.nextInt() scn.nextInt scn int boxB = scn.nextInt(); boxB scn.nextInt() scn.nextInt scn int boxC = scn.nextInt(); boxC scn.nextInt() scn.nextInt scn int boxCopy = boxA; boxCopy boxA boxA = boxB boxA boxB boxB = boxCopy boxB boxCopy boxCopy = boxA boxCopy boxA boxA = boxC boxA boxC boxC = boxCopy boxC boxCopy System.out.println(boxA +" " + boxB + " " + boxC) System.out.println System.out System System.out boxA +" " + boxB + " " + boxC " " boxB boxA +" " + boxB + " " + boxC boxA " " boxB " " boxC String[] args args
import java.util.*;
class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        //箱A,B,Cに入る整数
        int boxA = scn.nextInt();
        int boxB = scn.nextInt();
        int boxC = scn.nextInt();
        int boxCopy = boxA;
        boxA = boxB;
        boxB = boxCopy;
        boxCopy = boxA;
        boxA = boxC;
        boxC = boxCopy;
        System.out.println(boxA +" " + boxB + " " + boxC);
    }
}