import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    } main {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int tmp = a; tmp a a = b a b b = tmp b tmp tmp = a tmp a a = c a c c = tmp c tmp System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c scan.close() scan.close scan return; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int a = scan.nextInt(), b = scan.nextInt(), c = scan.nextInt();

        int tmp = a;
        a = b;
        b = tmp;

        tmp = a;
        a = c;
        c = tmp;

        System.out.println(a + " " + b + " " + c);

        scan.close();
        return;
    }
}