import java.util.*;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int x;
    int y;
    int z;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    }
    
    private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int x;
    int y;
    int z;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    }
    
    private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    }
} Main // 変数一覧
    int x; x int y; y int z; z public static void main(String[] args) {
        Main main = new Main();
        main.run();
    } main {
        Main main = new Main();
        main.run();
    } Main main = new Main(); main new Main() main.run() main.run main String[] args args public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    } run {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = sc.nextInt() y sc.nextInt() sc.nextInt sc z = sc.nextInt() z sc.nextInt() sc.nextInt sc sc.close() sc.close sc solve() solve private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    } solve {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    } int tmp = x; tmp x x = y x y y = tmp y tmp tmp = x tmp x x = z x z z = tmp z tmp System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int x;
    int y;
    int z;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    }
    
    private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    }
} public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int x;
    int y;
    int z;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    }
    
    private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.run();
    }
    
    // 変数一覧
    int x;
    int y;
    int z;

    public void run() {
        // 入力情報取得
        Scanner sc = new Scanner(System.in);
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();
        sc.close(); 

        // 解答処理
        solve();
    }
    
    private void solve() {
        int tmp = x;
        x = y;
        y = tmp;

        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x + " " + y + " " + z);
    }
}