import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.*;

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

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	}


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

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	}


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

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	} main {

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	} int a [] = new int [3]; a new int [3] 3 a[0] = in.nextInt() a[0] a 0 in.nextInt() in.nextInt in a[1] = in.nextInt() a[1] a 1 in.nextInt() in.nextInt in a[2] = in.nextInt() a[2] a 2 in.nextInt() in.nextInt in int temp = a[0]; temp a[0] a 0 a[0]=a[1] a[0] a 0 a[1] a 1 a[1]=temp a[1] a 1 temp int tem = a[2]; tem a[2] a 2 a[2]=a[0] a[2] a 2 a[0] a 0 a[0]=tem a[0] a 0 tem System.out.print(a[0]+" "+a[1]+" "+a[2]) System.out.print System.out System System.out a[0]+" "+a[1]+" "+a[2] " " a[1] a[0]+" "+a[1]+" "+a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 String args [] args public class Main{  
	
 	public static final Scanner in =new Scanner(System.in);
 	public static void main(String args []){

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	}


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

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	}


} Main
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.*;

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

 			int a [] = new int [3];
 			 a[0] = in.nextInt();
 			  a[1] = in.nextInt();
 			   a[2] = in.nextInt();
 			  int temp = a[0];
 			  a[0]=a[1];
 			  a[1]=temp;
 			  int tem = a[2];
 			  a[2]=a[0];
 			  a[0]=tem;
 			  System.out.print(a[0]+" "+a[1]+" "+a[2]);
 		
 	}


}