import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    }
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    }
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    } main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int X =scanner.nextInt(); X scanner.nextInt() scanner.nextInt scanner int Y =scanner.nextInt(); Y scanner.nextInt() scanner.nextInt scanner int Z =scanner.nextInt(); Z scanner.nextInt() scanner.nextInt scanner int A = X ; A X int B = Y ; B Y int C = Z ; C Z int t ; t t=  A t A A = B A B B = t B t t = A t A A = C A C C = t C t System.out.println( A + " " + B + " " + C ) System.out.println 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) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    }
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    }
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);
 
		int X =scanner.nextInt();
		int Y =scanner.nextInt();
		int Z =scanner.nextInt();
		 
		int A = X ;
		int B = Y ;
		int C = Z ;
		
		int t ;
		
      //tにAの中身を入れて移動
		t=  A ;
		A = B ;
		B = t ;
		
      //tにAの中身を入れて移動
	    t = A ;
		A = C ;
		C = t ;
	
		System.out.println( A + " " + B + " " + C );
    }
}