import java.util.Scanner;

class Main {
    private static void swap(int[] a, int i, int j) {
        a[i] = a[i] + a[j];
        a[j] = a[i] - a[j];
        a[i] = a[i] - a[j];
    }

    public static void main(String[] args) {
        Scanner get = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        }
        swap(a, 0, 1);
        swap(a, 0, 2);
        for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        }
    }
} import java.util.Scanner; Scanner java.util class Main {
    private static void swap(int[] a, int i, int j) {
        a[i] = a[i] + a[j];
        a[j] = a[i] - a[j];
        a[i] = a[i] - a[j];
    }

    public static void main(String[] args) {
        Scanner get = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        }
        swap(a, 0, 1);
        swap(a, 0, 2);
        for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        }
    }
} Main private static void swap(int[] a, int i, int j) {
        a[i] = a[i] + a[j];
        a[j] = a[i] - a[j];
        a[i] = a[i] - a[j];
    } swap {
        a[i] = a[i] + a[j];
        a[j] = a[i] - a[j];
        a[i] = a[i] - a[j];
    } a[i] = a[i] + a[j] a[i] a i a[i] + a[j] a[i] a i a[j] a j a[j] = a[i] - a[j] a[j] a j a[i] - a[j] a[i] a i a[j] a j a[i] = a[i] - a[j] a[i] a i a[i] - a[j] a[i] a i a[j] a j int[] a a int i i int j j public static void main(String[] args) {
        Scanner get = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        }
        swap(a, 0, 1);
        swap(a, 0, 2);
        for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        }
    } main {
        Scanner get = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        }
        swap(a, 0, 1);
        swap(a, 0, 2);
        for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        }
    } Scanner get = new Scanner(System.in); get new Scanner(System.in) int[] a = new int[3]; a new int[3] 3 for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        } int i = 0; int i = 0; i 0 i < 3 i 3 ++i ++i i {
            a[i] = get.nextInt();
        } {
            a[i] = get.nextInt();
        } a[i] = get.nextInt() a[i] a i get.nextInt() get.nextInt get swap(a, 0, 1) swap a 0 1 swap(a, 0, 2) swap a 0 2 for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        } int i = 0; int i = 0; i 0 i < 3 i 3 ++i ++i i {
            System.out.print(a[i] + " ");
        } {
            System.out.print(a[i] + " ");
        } System.out.print(a[i] + " ") System.out.print System.out System System.out a[i] + " " a[i] a i " " String[] args args
import java.util.Scanner;

class Main {
    private static void swap(int[] a, int i, int j) {
        a[i] = a[i] + a[j];
        a[j] = a[i] - a[j];
        a[i] = a[i] - a[j];
    }

    public static void main(String[] args) {
        Scanner get = new Scanner(System.in);
        int[] a = new int[3];
        for(int i = 0; i < 3; ++i) {
            a[i] = get.nextInt();
        }
        swap(a, 0, 1);
        swap(a, 0, 2);
        for(int i = 0; i < 3; ++i) {
            System.out.print(a[i] + " ");
        }
    }
}