import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int A = s.nextInt(), B = s.nextInt(), C = s.nextInt();
        int temp = A;
        A = B; B = temp;
        temp = A; A = C; C = temp;
        System.out.println(A + " " + B + " " + C);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int A = s.nextInt(), B = s.nextInt(), C = s.nextInt();
        int temp = A;
        A = B; B = temp;
        temp = A; A = C; C = temp;
        System.out.println(A + " " + B + " " + C);
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int A = s.nextInt(), B = s.nextInt(), C = s.nextInt();
        int temp = A;
        A = B; B = temp;
        temp = A; A = C; C = temp;
        System.out.println(A + " " + B + " " + C);
    } main {
        Scanner s = new Scanner(System.in);
        int A = s.nextInt(), B = s.nextInt(), C = s.nextInt();
        int temp = A;
        A = B; B = temp;
        temp = A; A = C; C = temp;
        System.out.println(A + " " + B + " " + C);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int A = s.nextInt() A s.nextInt() s.nextInt s B = s.nextInt() B s.nextInt() s.nextInt s C = s.nextInt(); C s.nextInt() s.nextInt s int temp = A; temp A A = B A B B = temp B temp temp = A temp A A = C A C C = temp C temp System.out.println(A + " " + B + " " + C) System.out.println System.out System System.out A + " " + B + " " + C " " B A + " " + B + " " + C A " " B " " C String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int A = s.nextInt(), B = s.nextInt(), C = s.nextInt();
        int temp = A;
        A = B; B = temp;
        temp = A; A = C; C = temp;
        System.out.println(A + " " + B + " " + C);
    }
}