import java.util.ArrayList;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    }

} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        } sc.hasNext() sc.hasNext sc {
            list.add(Integer.parseInt(sc.next()));
        } list.add(Integer.parseInt(sc.next())) list.add list Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc System.out.println(list.get(2)) System.out.println System.out System System.out list.get(2) list.get list 2 System.out.println(list.get(0)) System.out.println System.out System System.out list.get(0) list.get list 0 System.out.println(list.get(1)) System.out.println System.out System System.out list.get(1) list.get list 1 sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    }

} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        while (sc.hasNext()) {
            list.add(Integer.parseInt(sc.next()));
        }
        System.out.println(list.get(2));
        System.out.println(list.get(0));
        System.out.println(list.get(1));
        sc.close();
    }

}
