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

public class Main {

	public static void main(String[] args) {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	}
} 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);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	}
} Main public static void main(String[] args) {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	} main {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	} Scanner sc= new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=sc.nextInt(); c sc.nextInt() sc.nextInt sc ArrayList<Integer> list=new ArrayList<>(); list new ArrayList<>() list.add(a) list.add list a list.add(b) list.add list b list.add(c) list.add list c System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1)) System.out.println System.out System System.out list.get(2)+" "+list.get(0)+" "+list.get(1) " " list.get(0) list.get(2)+" "+list.get(0)+" "+list.get(1) list.get(2) list.get list 2 " " list.get(0) list.get list 0 " " list.get(1) list.get list 1 String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	}
} public class Main {

	public static void main(String[] args) {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc= new Scanner(System.in);
		
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		
		ArrayList<Integer> list=new ArrayList<>();
		
		list.add(a);
		list.add(b);
		list.add(c);
		
		System.out.println(list.get(2)+" "+list.get(0)+" "+list.get(1));
		
	}
}
