import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    } main {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    } Scanner sn = new Scanner(System.in); sn new Scanner(System.in) int x = 0; x 0 int y = 0; y 0 int z = 0; z 0 int tmp = 0; tmp 0 x = sn.nextInt() x sn.nextInt() sn.nextInt sn y = sn.nextInt() y sn.nextInt() sn.nextInt sn z = sn.nextInt() z sn.nextInt() sn.nextInt sn 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.print(x + " " + y + " " + z) System.out.print System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sn = new Scanner(System.in);
        
        // 変数の宣言
        int x = 0;
        int y = 0;
        int z = 0;
        int tmp = 0;
        
        x = sn.nextInt();
        y = sn.nextInt();
        z = sn.nextInt();
        
        // ABを入れ替える
        tmp = x;
        x = y;
        y = tmp;
        
        // ACを入れ替える
        tmp = x;
        x = z;
        z = tmp;
        
        System.out.print(x + " " + y + " " + z);
    }
}
