import java.io.*;

import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;

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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     }
    	
    	
    	
    	
    
}
 import java.io.*; io.* java import java.math.*; math.* java import java.security.*; security.* java import java.text.*; text.* java import java.util.*; util.* java import java.util.concurrent.*; concurrent.* java.util import java.util.regex.*; regex.* 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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     }
    	
    	
    	
    	
    
} 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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     } main {
    	Scanner sc=new Scanner(System.in);
    	int a=sc.nextInt();
    	int b=sc.nextInt();
    	int c=sc.nextInt();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     } 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 int temp1=b; temp1 b b=a b a a=temp1 a temp1 int temp=c; temp c c=a c a a=temp a temp System.out.print(a+" "+b+" "+c) System.out.print System.out System System.out a+" "+b+" "+c " " b a+" "+b+" "+c a " " b " " c 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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     }
    	
    	
    	
    	
    
} 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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     }
    	
    	
    	
    	
    
} Main
import java.io.*;

import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;

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();
    	int temp1=b;
    	b=a;
    	a=temp1;
    	int temp=c;
    	c=a;
    	a=temp;
    	
    	System.out.print(a+" "+b+" "+c);
    	
    	
       
        
       
    	

     }
    	
    	
    	
    	
    
}

